diff options
author | Torbjörn Andersson | 2005-05-19 17:03:31 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-05-19 17:03:31 +0000 |
commit | 81453854ee693aa31bbbd733043c114653265feb (patch) | |
tree | 8b548c0f4cb4a667461607503ce7996411813c64 /gui/dialog.h | |
parent | e8cb767e5bd0c34a68d31cb1debf9c86ab27a372 (diff) | |
download | scummvm-rg350-81453854ee693aa31bbbd733043c114653265feb.tar.gz scummvm-rg350-81453854ee693aa31bbbd733043c114653265feb.tar.bz2 scummvm-rg350-81453854ee693aa31bbbd733043c114653265feb.zip |
Big version of the popup widget. It could use a bit more polish, though...
svn-id: r18185
Diffstat (limited to 'gui/dialog.h')
-rw-r--r-- | gui/dialog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/dialog.h b/gui/dialog.h index e4bd5238bd..ec024d5df1 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -30,7 +30,7 @@ namespace GUI { class NewGui; -class ButtonWidget; +class PopUpWidget; // Some "common" commands sent to handleCommand() enum { @@ -96,6 +96,9 @@ protected: SliderWidget *addSlider(GuiObject *boss, int x, int y, uint32 cmd, WidgetSize ws = kDefaultWidgetSize); SliderWidget *addSlider(int x, int y, uint32 cmd, WidgetSize ws = kDefaultWidgetSize); + PopUpWidget *addPopUp(GuiObject *boss, int x, int y, int w, const Common::String &label, uint labelWidth = 0, WidgetSize ws = kDefaultWidgetSize); + PopUpWidget *addPopUp(int x, int y, int w, const Common::String &label, uint labelWidth = 0, WidgetSize ws = kDefaultWidgetSize); + void setResult(int result) { _result = result; } int getResult() const { return _result; } }; |