diff options
author | Yuri Sizov <yuris@humnom.net> | 2021-10-02 23:06:14 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2021-10-04 15:25:07 +0300 |
commit | 4a42a66cd92cbadac02bd1846ac4022dc8aaa44b (patch) | |
tree | d8e6031ec62835bae3ecd9561579a32610b94ea5 /scene/main/window.h | |
parent | 8aa78bc0501a37d7c1e81f0954ac5bd9b49f890f (diff) |
Add the base scale factor to the Theme resource
Diffstat (limited to 'scene/main/window.h')
-rw-r--r-- | scene/main/window.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/main/window.h b/scene/main/window.h index 4f31d9cd1f..def6eab7b8 100644 --- a/scene/main/window.h +++ b/scene/main/window.h @@ -280,6 +280,10 @@ public: bool has_theme_color(const StringName &p_name, const StringName &p_theme_type = StringName()) const; bool has_theme_constant(const StringName &p_name, const StringName &p_theme_type = StringName()) const; + float get_theme_default_base_scale() const; + Ref<Font> get_theme_default_font() const; + int get_theme_default_font_size() const; + Rect2i get_parent_rect() const; virtual DisplayServer::WindowID get_window_id() const override; |