From 841c600fef543703919733939b6374ced0c8a982 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 15 May 2005 18:02:10 +0000 Subject: Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a param to the ListWidget constructor to choose a 'big' variant svn-id: r18115 --- gui/ListWidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gui/ListWidget.h') diff --git a/gui/ListWidget.h b/gui/ListWidget.h index e31b58d813..652489cfa3 100644 --- a/gui/ListWidget.h +++ b/gui/ListWidget.h @@ -56,12 +56,13 @@ protected: int _selectedItem; ScrollBarWidget *_scrollBar; int _currentKeyDown; + int _lineHeight; String _quickSelectStr; uint32 _quickSelectTime; public: - ListWidget(GuiObject *boss, int x, int y, int w, int h); + ListWidget(GuiObject *boss, int x, int y, int w, int h, WidgetSize ws = kDefaultWidgetSize); virtual ~ListWidget(); void setList(const StringList& list); -- cgit v1.2.3