aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialog.h')
-rw-r--r--gui/dialog.h5
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; }
};