diff options
Diffstat (limited to 'gui/PopUpWidget.h')
-rw-r--r-- | gui/PopUpWidget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/PopUpWidget.h b/gui/PopUpWidget.h index affde47459..bfa549c05a 100644 --- a/gui/PopUpWidget.h +++ b/gui/PopUpWidget.h @@ -49,7 +49,7 @@ class PopUpWidget : public Widget, public CommandSender { }; typedef Common::Array<Entry> EntryList; protected: - const WidgetSize _ws; + WidgetSize _ws; EntryList _entries; int _selectedItem; @@ -58,6 +58,9 @@ protected: public: PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const String &label, uint labelWidth = 0, WidgetSize ws = kDefaultWidgetSize); + PopUpWidget(GuiObject *boss, String name, const String &label, uint labelWidth = 0); + + void init(); void handleMouseDown(int x, int y, int button, int clickCount); |