mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Tree: fix and expose icon modulation
This commit is contained in:
@@ -136,6 +136,15 @@
|
||||
Returns the column's icon's maximum width.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_icon_modulate" qualifiers="const">
|
||||
<return type="Color">
|
||||
</return>
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Returns the [Color] modulating the column's icon.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_icon_region" qualifiers="const">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
@@ -464,6 +473,17 @@
|
||||
Sets the given column's icon's maximum width.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_icon_modulate">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="column" type="int">
|
||||
</argument>
|
||||
<argument index="1" name="modulate" type="Color">
|
||||
</argument>
|
||||
<description>
|
||||
Modulates the given column's icon with [code]modulate[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_icon_region">
|
||||
<return type="void">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user