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 6a1e2f9cc8..cd55c9ea56 100644 --- a/gui/PopUpWidget.h +++ b/gui/PopUpWidget.h @@ -48,14 +48,17 @@ class PopUpWidget : public Widget, public CommandSender { }; typedef Common::Array<Entry> EntryList; protected: + const WidgetSize _ws; + const Graphics::Font *_font; EntryList _entries; + int _lineHeight; int _selectedItem; String _label; uint _labelWidth; public: - PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const String &label, uint labelWidth = 0); + PopUpWidget(GuiObject *boss, int x, int y, int w, int h, const String &label, uint labelWidth = 0, WidgetSize ws = kDefaultWidgetSize); void handleMouseDown(int x, int y, int button, int clickCount); |