Merge pull request #103751 from bruvzg/glob_menu_icons_theme

[Editor] Change global menu icons theme independently of editor theme.
This commit is contained in:
Rémi Verschelde 2025-03-19 12:26:57 +01:00
commit 7b21950fb0
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 96 additions and 34 deletions

View file

@ -456,6 +456,7 @@ public:
Variant get_theme_item(Theme::DataType p_data_type, const StringName &p_name, const StringName &p_theme_type = StringName()) const;
#ifdef TOOLS_ENABLED
Ref<Texture2D> get_editor_theme_icon(const StringName &p_name) const;
Ref<Texture2D> get_editor_theme_native_menu_icon(const StringName &p_name, bool p_global_menu, bool p_dark_mode) const;
#endif
bool has_theme_icon_override(const StringName &p_name) const;