diff options
Diffstat (limited to 'tools/editor/property_editor.h')
-rw-r--r-- | tools/editor/property_editor.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/tools/editor/property_editor.h b/tools/editor/property_editor.h index 2e533a0c64..63ad090901 100644 --- a/tools/editor/property_editor.h +++ b/tools/editor/property_editor.h @@ -38,6 +38,8 @@ #include "scene/gui/menu_button.h" #include "scene/gui/texture_frame.h" #include "scene/gui/text_edit.h" +#include "scene/gui/check_button.h" +#include "scene/gui/split_container.h" #include "scene_tree_editor.h" /** @@ -83,6 +85,7 @@ class CustomPropertyEditor : public Popup { String hint_text; LineEdit *value_editor[MAX_VALUE_EDITORS]; Label *value_label[MAX_VALUE_EDITORS]; + HScrollBar *scroll[4]; Button *action_buttons[MAX_ACTION_BUTTONS]; MenuButton *type_button; Vector<String> inheritors_array; @@ -103,6 +106,7 @@ class CustomPropertyEditor : public Popup { void _text_edit_changed(); void _file_selected(String p_file); + void _scroll_modified(double p_value); void _modified(String p_string); void _range_modified(double p_value); void _focus_enter(); @@ -122,10 +126,6 @@ class CustomPropertyEditor : public Popup { void config_value_editors(int p_amount, int p_columns,int p_label_w,const List<String>& p_strings); void config_action_buttons(const List<String>& p_strings); - bool text_changed; - - void _text_editor_changed(String p_text); - protected: void _notification(int p_what); @@ -259,16 +259,12 @@ class SectionedPropertyEditor : public HBoxContainer { OBJ_TYPE(SectionedPropertyEditor,HBoxContainer); ItemList *sections; SectionedPropertyEditorFilter *filter; - LineEdit *search_box; - ToolButton *clear_button; PropertyEditor *editor; - void _section_selected(int p_which); - -protected: - void _notification(int p_what); static void _bind_methods(); + void _section_selected(int p_which); + public: PropertyEditor *get_property_editor(); @@ -276,8 +272,6 @@ public: String get_full_item_path(const String& p_item); String get_current_section() const; - void clear_search_box(); - SectionedPropertyEditor(); ~SectionedPropertyEditor(); }; |