updated timeline tools to take custom mouse events

This commit is contained in:
itsmattkc
2019-10-11 09:35:11 +11:00
parent df9255ce0b
commit 405f4e5e00
29 changed files with 720 additions and 304 deletions
+6 -1
View File
@@ -25,13 +25,14 @@
#include "node/graph.h"
#include "node/output/track/track.h"
#include "tracktypes.h"
class TimelineOutput;
class TrackList : public QObject {
Q_OBJECT
public:
TrackList(TimelineOutput *parent, NodeInput* track_input);
TrackList(TimelineOutput *parent, const enum TrackType& type, NodeInput* track_input);
TrackOutput* attached_track();
@@ -53,6 +54,8 @@ public:
const rational& TrackLength();
const enum TrackType& TrackType();
public slots:/**
* @brief Slot for when the track connection is added
*/
@@ -114,6 +117,8 @@ private:
rational total_length_;
enum TrackType type_;
private slots:
void UpdateTotalLength();
};