diff options
author | SupSuper | 2018-11-20 02:11:59 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-12-16 10:48:13 +0000 |
commit | fbc9c7d371a4a123f3180ed54f26dfb5799fcc36 (patch) | |
tree | 466f031d69e0a6881ec0f9215cb816f67754215a /gui/browser.h | |
parent | 5fce1ae46400576c7d65a9ea63ff1c00952cf71c (diff) | |
download | scummvm-rg350-fbc9c7d371a4a123f3180ed54f26dfb5799fcc36.tar.gz scummvm-rg350-fbc9c7d371a4a123f3180ed54f26dfb5799fcc36.tar.bz2 scummvm-rg350-fbc9c7d371a4a123f3180ed54f26dfb5799fcc36.zip |
BACKENDS: Hook GUI browser to DialogManager
Diffstat (limited to 'gui/browser.h')
-rw-r--r-- | gui/browser.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/gui/browser.h b/gui/browser.h index 557563e0fa..2ef9a9c56e 100644 --- a/gui/browser.h +++ b/gui/browser.h @@ -37,35 +37,26 @@ class BrowserDialog : public Dialog { public: BrowserDialog(const char *title, bool dirBrowser); -#ifdef MACOSX - ~BrowserDialog(); virtual int runModal(); -#else virtual void open(); - virtual void handleCommand(CommandSender *sender, uint32 cmd, uint32 data); -#endif const Common::FSNode &getResult() { return _choice; } protected: -#ifdef MACOSX - const void *_titleRef; - const void *_chooseRef; -#else ListWidget *_fileList; EditTextWidget *_currentPath; Common::FSNode _node; - Common::FSList _nodeContent; + Common::FSList _nodeContent; + bool _showHidden; CheckboxWidget *_showHiddenWidget; -#endif + Common::FSNode _choice; + const char *_title; bool _isDirBrowser; -#ifndef MACOSX void updateListing(); -#endif }; } // End of namespace GUI |