Add generic file icon and its modulation to the 'FileDialog'

This commit is contained in:
Michael Alexsander
2020-06-08 09:41:45 -03:00
parent 201d5a7fc5
commit 637927f803
5 changed files with 17 additions and 0 deletions

View File

@@ -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>