timeline: began crude edit tool functionality

This commit is contained in:
itsmattkc
2020-10-02 17:10:15 +10:00
parent 4204910796
commit 0508acc613
9 changed files with 143 additions and 27 deletions
+5
View File
@@ -122,6 +122,11 @@ void Block::set_length_and_media_in(const rational &length)
LengthChangedEvent(old_length, length, Timeline::kTrimIn);
}
TimeRange Block::range() const
{
return TimeRange(in(), out());
}
Block *Block::previous()
{
return previous_;