created clip block node

This commit is contained in:
itsmattkc
2019-07-28 01:27:06 -07:00
parent 32b8d0a7d6
commit 32c7d089aa
10 changed files with 173 additions and 17 deletions
+6
View File
@@ -22,22 +22,28 @@
#define TIMELINEBLOCK_H
#include "node/block/block.h"
#include "panel/timeline/timeline.h"
/**
* @brief Node that represents the end of the Timeline as well as a time traversal Node
*/
class TimelineBlock : public Block
{
Q_OBJECT
public:
TimelineBlock();
virtual rational length() override;
void AttachTimeline(TimelinePanel* timeline);
public slots:
virtual void Process(const rational &time) override;
private:
Block* current_block_;
TimelinePanel* attached_timeline_;
};
#endif // TIMELINEBLOCK_H