wrote slide timeline tool

This commit is contained in:
itsmattkc
2019-09-23 23:22:40 +10:00
parent 9fa22938b9
commit 372fc25667
7 changed files with 163 additions and 5 deletions
+2 -1
View File
@@ -39,6 +39,7 @@ TimelineView::TimelineView(QWidget *parent) :
ripple_tool_(this),
rolling_tool_(this),
razor_tool_(this),
slide_tool_(this),
hand_tool_(this),
zoom_tool_(this),
timeline_node_(nullptr),
@@ -272,7 +273,7 @@ TimelineView::Tool *TimelineView::GetActiveTool()
case olive::tool::kSlip:
return nullptr; // FIXME: Implement
case olive::tool::kSlide:
return nullptr; // FIXME: Implement
return &slide_tool_;
case olive::tool::kHand:
return &hand_tool_;
case olive::tool::kZoom: