updated timeline tools to take custom mouse events
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user