ported seekablewidget to timebasedview
Cuts down on a lot of code duplication and opens up usage of the new TimelineViewSelectionManager framework
This commit is contained in:
@@ -43,6 +43,9 @@ public:
|
||||
return snapped_;
|
||||
}
|
||||
|
||||
const rational &GetTime() const { return playhead_; }
|
||||
|
||||
SnapService *GetSnapService() const { return snap_service_; }
|
||||
void SetSnapService(SnapService* service);
|
||||
|
||||
const double& GetYScale() const;
|
||||
@@ -85,11 +88,6 @@ protected:
|
||||
|
||||
virtual void ZoomIntoCursorPosition(QWheelEvent *event, double multiplier, const QPointF &cursor_pos) override;
|
||||
|
||||
const rational &GetPlayheadTime() const
|
||||
{
|
||||
return playhead_;
|
||||
}
|
||||
|
||||
bool PlayheadPress(QMouseEvent* event);
|
||||
bool PlayheadMove(QMouseEvent* event);
|
||||
bool PlayheadRelease(QMouseEvent* event);
|
||||
|
||||
Reference in New Issue
Block a user