[Editor] Simplify native menu icon generation.

This commit is contained in:
Pāvels Nadtočajevs 2025-11-27 23:04:51 +02:00
parent 3a97723ff2
commit e68b2436ee
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
6 changed files with 45 additions and 71 deletions

View file

@ -495,7 +495,6 @@ 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;