implemented base UI keyframe functionality

This commit implements much of the base functionality for creating and
destroying keyframes in the UI. Not complete yet, but getting there.
This commit is contained in:
itsmattkc
2019-12-26 16:32:08 +11:00
parent a514265fc9
commit 23001386d0
16 changed files with 707 additions and 301 deletions
@@ -32,6 +32,8 @@ void TimelineViewBase::SetScale(const double &scale)
viewport()->update();
end_item_->SetScale(scale_);
ScaleChangedEvent(scale_);
}
void TimelineViewBase::SetTimebase(const rational &timebase)
@@ -146,3 +148,8 @@ void TimelineViewBase::resizeEvent(QResizeEvent *event)
UpdateSceneRect();
}
void TimelineViewBase::ScaleChangedEvent(double scale)
{
Q_UNUSED(scale)
}