Merge pull request #96643 from bruvzg/fs_links

[FileSystem Dock] Add symlink indicator and tooltip.
This commit is contained in:
Rémi Verschelde
2024-09-12 10:28:44 +02:00
6 changed files with 66 additions and 0 deletions

View File

@@ -223,6 +223,13 @@
Returns the [Color] modulating the column's icon.
</description>
</method>
<method name="get_icon_overlay" qualifiers="const">
<return type="Texture2D" />
<param index="0" name="column" type="int" />
<description>
Returns the given column's icon overlay [Texture2D].
</description>
</method>
<method name="get_icon_region" qualifiers="const">
<return type="Rect2" />
<param index="0" name="column" type="int" />
@@ -662,6 +669,14 @@
Modulates the given column's icon with [param modulate].
</description>
</method>
<method name="set_icon_overlay">
<return type="void" />
<param index="0" name="column" type="int" />
<param index="1" name="texture" type="Texture2D" />
<description>
Sets the given cell's icon overlay [Texture2D]. The cell has to be in [constant CELL_MODE_ICON] mode, and icon has to be set. Overlay is drawn on top of icon, in the bottom left corner.
</description>
</method>
<method name="set_icon_region">
<return type="void" />
<param index="0" name="column" type="int" />