From 0a3e00b307c7977fda9849b577a81c5c6304b8e5 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 27 Jan 2013 19:11:20 +0100 Subject: GUI: Allow user to display hidden files in the browser dialog. This implements feature request #3600774 "File browser: show hidden files". --- gui/browser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui/browser.h') 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; -- cgit v1.2.3