Add the base scale factor to the Theme resource
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user