diff options
author | Johannes Schickel | 2013-01-27 19:11:20 +0100 |
---|---|---|
committer | Johannes Schickel | 2013-01-27 19:13:44 +0100 |
commit | 0a3e00b307c7977fda9849b577a81c5c6304b8e5 (patch) | |
tree | 9f39812cace004301bb46dac0fd6b0156a731449 /gui/browser.h | |
parent | 69424b71bd027e4eb29ecadaca5271c5d677cac3 (diff) | |
download | scummvm-rg350-0a3e00b307c7977fda9849b577a81c5c6304b8e5.tar.gz scummvm-rg350-0a3e00b307c7977fda9849b577a81c5c6304b8e5.tar.bz2 scummvm-rg350-0a3e00b307c7977fda9849b577a81c5c6304b8e5.zip |
GUI: Allow user to display hidden files in the browser dialog.
This implements feature request #3600774 "File browser: show hidden files".
Diffstat (limited to 'gui/browser.h')
-rw-r--r-- | gui/browser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/browser.h b/gui/browser.h index 5cf091fbf4..7c098617bb 100644 --- a/gui/browser.h +++ b/gui/browser.h @@ -29,6 +29,7 @@ namespace GUI { class ListWidget; class StaticTextWidget; +class CheckboxWidget; class CommandSender; class BrowserDialog : public Dialog { @@ -40,6 +41,7 @@ public: virtual int runModal(); #else virtual void open(); + virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); #endif @@ -54,6 +56,8 @@ protected: StaticTextWidget *_currentPath; Common::FSNode _node; Common::FSList _nodeContent; + bool _showHidden; + CheckboxWidget *_showHiddenWidget; #endif Common::FSNode _choice; bool _isDirBrowser; |