keyframes: implemented copying/pasting

This commit is contained in:
itsmattkc
2022-05-10 15:42:09 -07:00
parent af9e54504c
commit 182e1599af
24 changed files with 567 additions and 160 deletions
+6
View File
@@ -21,6 +21,8 @@
#ifndef KEYFRAMEVIEWBASE_H
#define KEYFRAMEVIEWBASE_H
#include <functional>
#include "keyframeviewinputconnection.h"
#include "node/keyframe.h"
#include "widget/menu/menu.h"
@@ -77,6 +79,10 @@ public:
UpdateSceneRect();
}
bool CopySelected(bool cut);
bool Paste(std::function<Node *(const QString &)> find_node_function);
signals:
void Dragged(int current_x, int current_y);