summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-06-09 14:11:01 +0200
committerGitHub <noreply@github.com>2020-06-09 14:11:01 +0200
commit34942705941bbd43077526f3b2030a267f59868a (patch)
treedf0592c0caf560f121d0893ca7e373370e8a6e1e /doc/classes
parent28bd8342981b7a0933d48affc88a3dc7c593296b (diff)
parent637927f8035bbffc4ffb0a71115071eaa1a82f3b (diff)
Merge pull request #39391 from YeldhamDev/filediag_file_icon
Add generic file icon and its modulation to the 'FileDialog'
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/FileDialog.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/FileDialog.xml b/doc/classes/FileDialog.xml
index 99563ee367..f4868df6a4 100644
--- a/doc/classes/FileDialog.xml
+++ b/doc/classes/FileDialog.xml
@@ -132,6 +132,12 @@
</constant>
</constants>
<theme_items>
+ <theme_item name="file" type="Texture2D">
+ Custom icon for files.
+ </theme_item>
+ <theme_item name="file_icon_modulate" type="Color" default="Color( 1, 1, 1, 1 )">
+ The color modulation applied to the file icon.
+ </theme_item>
<theme_item name="files_disabled" type="Color" default="Color( 0, 0, 0, 0.7 )">
The color tint for disabled files (when the [FileDialog] is used in open folder mode).
</theme_item>