diff options
author | eska <eska@eska.me> | 2015-11-18 22:55:05 +0100 |
---|---|---|
committer | eska <eska@eska.me> | 2015-11-18 22:55:05 +0100 |
commit | 7f5cb7512d7883c1355185b1fd4ecbeff95cf690 (patch) | |
tree | 00451896ae3c49d2243331a19a0903aa6e3b8a96 /tools/editor/animation_editor.h | |
parent | 9833fc21e60c407cb8372915ed0b3b6165fbd12d (diff) |
Split up AnimationPlayer tracks editor `Tracks` button
Diffstat (limited to 'tools/editor/animation_editor.h')
-rw-r--r-- | tools/editor/animation_editor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/editor/animation_editor.h b/tools/editor/animation_editor.h index 4a1cc21154..629377d78e 100644 --- a/tools/editor/animation_editor.h +++ b/tools/editor/animation_editor.h @@ -70,9 +70,9 @@ class AnimationKeyEditor : public VBoxContainer { enum { - TRACK_MENU_ADD_VALUE_TRACK, - TRACK_MENU_ADD_TRANSFORM_TRACK, - TRACK_MENU_ADD_CALL_TRACK, + ADD_TRACK_MENU_ADD_VALUE_TRACK, + ADD_TRACK_MENU_ADD_TRANSFORM_TRACK, + ADD_TRACK_MENU_ADD_CALL_TRACK, TRACK_MENU_SCALE, TRACK_MENU_SCALE_PIVOT, TRACK_MENU_MOVE_UP, @@ -192,6 +192,7 @@ class AnimationKeyEditor : public VBoxContainer { SpinBox *step; + MenuButton *menu_add_track; MenuButton *menu_track; HScrollBar *h_scroll; @@ -286,6 +287,7 @@ class AnimationKeyEditor : public VBoxContainer { void _scroll_changed(double); + void _menu_add_track(int p_type); void _menu_track(int p_type); void _clear_selection_for_anim(const Ref<Animation>& p_anim); |