aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/file_dialog.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-03-23 11:31:03 -0300
committerJuan Linietsky2015-03-23 11:31:23 -0300
commit7ad7f2f6a986fa6598ae10f2bb940e15c3658f44 (patch)
treef8019c0ab73f7a2eb9088429ec6e3673d299f95d /scene/gui/file_dialog.h
parent393e5605c9e1b5baa91bff9ad61c7a0118b10cac (diff)
downloadgodot-7ad7f2f6a986fa6598ae10f2bb940e15c3658f44.tar.gz
godot-7ad7f2f6a986fa6598ae10f2bb940e15c3658f44.tar.zst
godot-7ad7f2f6a986fa6598ae10f2bb940e15c3658f44.zip
Diffstat (limited to 'scene/gui/file_dialog.h')
-rw-r--r--scene/gui/file_dialog.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/scene/gui/file_dialog.h b/scene/gui/file_dialog.h
index bda179769..6b3503582 100644
--- a/scene/gui/file_dialog.h
+++ b/scene/gui/file_dialog.h
@@ -89,6 +89,10 @@ private:
Vector<String> filters;
+
+ static bool default_show_hidden_files;
+ bool show_hidden_files;
+
bool invalidated;
void update_dir();
@@ -141,6 +145,11 @@ public:
void set_access(Access p_access);
Access get_access() const;
+ void set_show_hidden_files(bool p_show);
+ bool is_showing_hidden_files() const;
+
+ static void set_default_show_hidden_files(bool p_show);
+
void invalidate();
FileDialog();