summaryrefslogtreecommitdiff
path: root/doc/classes/Control.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2021-10-02 23:06:14 +0300
committerYuri Sizov <yuris@humnom.net>2021-10-04 15:25:07 +0300
commit4a42a66cd92cbadac02bd1846ac4022dc8aaa44b (patch)
treed8e6031ec62835bae3ecd9561579a32610b94ea5 /doc/classes/Control.xml
parent8aa78bc0501a37d7c1e81f0954ac5bd9b49f890f (diff)
Add the base scale factor to the Theme resource
Diffstat (limited to 'doc/classes/Control.xml')
-rw-r--r--doc/classes/Control.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml
index b00bf1c250..6fa59a15ac 100644
--- a/doc/classes/Control.xml
+++ b/doc/classes/Control.xml
@@ -458,6 +458,27 @@
See [method get_theme_color] for details.
</description>
</method>
+ <method name="get_theme_default_base_scale" qualifiers="const">
+ <return type="float" />
+ <description>
+ Returns the default base scale value from the first matching [Theme] in the tree if that [Theme] has a valid [member Theme.default_base_scale] value.
+ See [method get_theme_color] for details.
+ </description>
+ </method>
+ <method name="get_theme_default_font" qualifiers="const">
+ <return type="Font" />
+ <description>
+ Returns the default font from the first matching [Theme] in the tree if that [Theme] has a valid [member Theme.default_font] value.
+ See [method get_theme_color] for details.
+ </description>
+ </method>
+ <method name="get_theme_default_font_size" qualifiers="const">
+ <return type="int" />
+ <description>
+ Returns the default font size value from the first matching [Theme] in the tree if that [Theme] has a valid [member Theme.default_font_size] value.
+ See [method get_theme_color] for details.
+ </description>
+ </method>
<method name="get_theme_font" qualifiers="const">
<return type="Font" />
<argument index="0" name="name" type="StringName" />