diff options
author | Eugene Sandulenko | 2006-04-18 00:37:04 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-04-18 00:37:04 +0000 |
commit | 5daa835cc724db34bcd47c9fddaf44317fa5b83e (patch) | |
tree | dc9376e3930e2ac9ed9bfecc43bd249e94a00e54 /gui/dialog.h | |
parent | 1c9c14011be6f8da8aa8298bdaca66f7b135a59d (diff) | |
download | scummvm-rg350-5daa835cc724db34bcd47c9fddaf44317fa5b83e.tar.gz scummvm-rg350-5daa835cc724db34bcd47c9fddaf44317fa5b83e.tar.bz2 scummvm-rg350-5daa835cc724db34bcd47c9fddaf44317fa5b83e.zip |
- PopUpWidget (drop down list) does not shadow underlying dialog anymore
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn
up to 4 times
svn-id: r21998
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index dde9ec0976..794aaa2395 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -49,10 +49,11 @@ protected: private: int _result; + bool _dimsInactive; public: - Dialog(int x, int y, int w, int h); - Dialog(Common::String name); + Dialog(int x, int y, int w, int h, bool dimsInactive = true); + Dialog(Common::String name, bool dimsInactive = true); virtual ~Dialog(); virtual int runModal(); @@ -84,6 +85,9 @@ protected: void setResult(int result) { _result = result; } int getResult() const { return _result; } + + // Whether dialog dims all underneath dialogs or not when active + bool dimsInactive() { return _dimsInactive; } }; } // End of namespace GUI |