mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Register theme properties with ThemeDB
This commit is contained in:
parent
8c1817f755
commit
2924bfd4d3
71 changed files with 837 additions and 802 deletions
|
|
@ -585,6 +585,7 @@ public:
|
|||
int get_theme_font_size(const StringName &p_name, const StringName &p_theme_type = StringName()) const;
|
||||
Color get_theme_color(const StringName &p_name, const StringName &p_theme_type = StringName()) const;
|
||||
int get_theme_constant(const StringName &p_name, const StringName &p_theme_type = StringName()) const;
|
||||
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;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue