diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-05-17 18:02:16 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-05-17 18:03:05 -0300 |
commit | 4b5227ff7755aa19aa57452c49e9466252fcb4a0 (patch) | |
tree | 2adcced443c368d5d2ad2c71e2fae631af1e2411 /editor/editor_properties.h | |
parent | 3183375135e7e9d7bdab2b318dd74f672ebda27d (diff) |
-Ability to open resources in the same window
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r-- | editor/editor_properties.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h index cf0c735b37..7cd94f25f8 100644 --- a/editor/editor_properties.h +++ b/editor/editor_properties.h @@ -481,7 +481,9 @@ class EditorPropertyResource : public EditorProperty { PopupMenu *menu; EditorFileDialog *file; Vector<String> inheritors_array; + EditorInspector *sub_inspector; + bool use_sub_inspector; String base_type; SceneTreeDialog *scene_tree; @@ -494,6 +496,10 @@ class EditorPropertyResource : public EditorProperty { void _update_menu(); + void _sub_inspector_property_keyed(const String &p_property, const Variant &p_value, bool); + void _sub_inspector_resource_selected(const RES &p_resource, const String &p_property); + void _sub_inspector_object_id_selected(int p_id); + protected: static void _bind_methods(); void _notification(int p_what); @@ -501,6 +507,10 @@ protected: public: virtual void update_property(); void setup(const String &p_base_type); + + void collapse_all_folding(); + void expand_all_folding(); + EditorPropertyResource(); }; |