diff options
Diffstat (limited to 'tools/editor/editor_path.h')
-rw-r--r-- | tools/editor/editor_path.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/editor/editor_path.h b/tools/editor/editor_path.h index 11e1005ba3..7f51a5dc48 100644 --- a/tools/editor/editor_path.h +++ b/tools/editor/editor_path.h @@ -30,6 +30,7 @@ #define EDITOR_PATH_H #include "scene/gui/control.h" +#include "scene/gui/popup_menu.h" #include "editor_data.h" class EditorPath : public Control { @@ -39,10 +40,17 @@ class EditorPath : public Control { EditorHistory *history; + Vector<ObjectID> objects; + PopupMenu *popup; + bool mouse_over; EditorPath(); + void _popup_select(int p_idx); + void _input_event(const InputEvent& p_event); + void _add_children_to_popup(Object* p_obj,int p_depth=0); protected: + static void _bind_methods(); void _notification(int p_what); public: |