summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2020-06-08 09:41:45 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2020-06-08 10:31:45 -0300
commit637927f8035bbffc4ffb0a71115071eaa1a82f3b (patch)
tree57fffe02d012c7fd34da4f4f1eb2a18d8b4d7d67 /doc/classes
parent201d5a7fc53c041e011ad7a79b805f5989216d28 (diff)
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>