diff options
Diffstat (limited to 'editor/editor_path.h')
| -rw-r--r-- | editor/editor_path.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/editor/editor_path.h b/editor/editor_path.h index fd5b469d0..d781f6609 100644 --- a/editor/editor_path.h +++ b/editor/editor_path.h @@ -29,32 +29,30 @@ #ifndef EDITOR_PATH_H #define EDITOR_PATH_H +#include "editor_data.h" #include "scene/gui/control.h" #include "scene/gui/popup_menu.h" -#include "editor_data.h" class EditorPath : public Control { - GDCLASS(EditorPath,Control); + GDCLASS(EditorPath, Control); EditorHistory *history; - Vector<ObjectID> objects; PopupMenu *popup; bool mouse_over; EditorPath(); void _popup_select(int p_idx); - void _gui_input(const InputEvent& p_event); - void _add_children_to_popup(Object* p_obj,int p_depth=0); -protected: + void _gui_input(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: - void update_path(); EditorPath(EditorHistory *p_history); |
