diff options
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index d17d3a5ad1..bc5ce6b6e0 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -42,21 +42,22 @@ enum { }; class Dialog : public GuiObject { + // TANOKU-TODO: remove newgui from here friend class NewGui; protected: Widget *_mouseWidget; Widget *_focusedWidget; Widget *_dragWidget; bool _visible; - uint16 _drawingHints; + + Theme::DialogBackground _backgroundType; private: int _result; - bool _dimsInactive; public: - Dialog(int x, int y, int w, int h, bool dimsInactive = true); - Dialog(const Common::String &name, bool dimsInactive = true); + Dialog(int x, int y, int w, int h); + Dialog(const Common::String &name); virtual int runModal(); @@ -90,9 +91,6 @@ 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 |