aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ListWidget.h')
-rw-r--r--gui/ListWidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/ListWidget.h b/gui/ListWidget.h
index e76907297d..2ee8ed8c37 100644
--- a/gui/ListWidget.h
+++ b/gui/ListWidget.h
@@ -63,8 +63,11 @@ protected:
public:
ListWidget(GuiObject *boss, int x, int y, int w, int h, WidgetSize ws = kDefaultWidgetSize);
+ ListWidget(GuiObject *boss, String name, WidgetSize ws = kDefaultWidgetSize);
virtual ~ListWidget();
+ void init(GuiObject *boss, int w, WidgetSize ws);
+
void setList(const StringList& list);
const StringList& getList() const { return _list; }
int getSelected() const { return _selectedItem; }