added some more timeline functions

This commit is contained in:
itsmattkc
2019-08-13 21:50:39 +10:00
parent 737442e513
commit 4f4737a395
21 changed files with 291 additions and 87 deletions
+5 -12
View File
@@ -24,6 +24,11 @@ GapBlock::GapBlock()
{
}
Block *GapBlock::copy()
{
return new GapBlock();
}
Block::Type GapBlock::type()
{
return kGap;
@@ -43,15 +48,3 @@ QString GapBlock::Description()
{
return tr("A time-based node that represents an empty space.");
}
rational GapBlock::length()
{
return length_;
}
void GapBlock::set_length(const rational &length)
{
length_ = length;
RefreshFollowing();
}