summaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.h
diff options
context:
space:
mode:
authormarcelofg55 <marcelofg55@gmail.com>2016-06-18 22:22:03 -0300
committermarcelofg55 <marcelofg55@gmail.com>2016-06-18 22:22:03 -0300
commite71391e7cc1f143055ef089e94f3e0d033630f68 (patch)
tree29050b78a48423c099ae22395b9761b07b783ef3 /tools/editor/animation_editor.h
parentbd79aa52ab2ef7eec4cad55d373b6e4fc7de7731 (diff)
Added popup menu for animation key right-click
Diffstat (limited to 'tools/editor/animation_editor.h')
-rw-r--r--tools/editor/animation_editor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/editor/animation_editor.h b/tools/editor/animation_editor.h
index 413c73b4b9..131100a205 100644
--- a/tools/editor/animation_editor.h
+++ b/tools/editor/animation_editor.h
@@ -99,6 +99,12 @@ class AnimationKeyEditor : public VBoxContainer {
CURVE_SET_CONSTANT
};
+ enum {
+ RIGHT_MENU_DUPLICATE,
+ RIGHT_MENU_DUPLICATE_TRANSPOSE,
+ RIGHT_MENU_REMOVE
+ };
+
struct MouseOver {
enum Over {
@@ -313,6 +319,9 @@ class AnimationKeyEditor : public VBoxContainer {
void _add_call_track(const NodePath& p_base);
+ void _anim_duplicate_keys(bool transpose = false);
+ void _anim_delete_keys();
+
void _root_removed();
protected: