diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-26 00:57:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 00:57:21 +0200 |
commit | ff75a49227d8d81f99b728fc89b1e4e6e79ed5be (patch) | |
tree | d48cb90cddf4a60343cb417d6d54ae536a9b41d3 /editor/editor_inspector.h | |
parent | 0736eed7471a84afa0699d3ec0e6ee9899c7ae26 (diff) | |
parent | e7b0e7e35aedd85a11480654e353e53b02a6a031 (diff) |
Merge pull request #61387 from KoBeWi/press_to_action
Improve style of inspector buttons
Diffstat (limited to 'editor/editor_inspector.h')
-rw-r--r-- | editor/editor_inspector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_inspector.h b/editor/editor_inspector.h index 2b89fb3f9f..555fedf939 100644 --- a/editor/editor_inspector.h +++ b/editor/editor_inspector.h @@ -533,6 +533,7 @@ public: static void add_inspector_plugin(const Ref<EditorInspectorPlugin> &p_plugin); static void remove_inspector_plugin(const Ref<EditorInspectorPlugin> &p_plugin); static void cleanup_plugins(); + static Button *create_inspector_action_button(const String &p_text); static EditorProperty *instantiate_property_editor(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const uint32_t p_usage, const bool p_wide = false); |