aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.h
diff options
context:
space:
mode:
authorMax Horn2005-05-15 18:02:10 +0000
committerMax Horn2005-05-15 18:02:10 +0000
commit841c600fef543703919733939b6374ced0c8a982 (patch)
tree874bda7a10bbe70801ddafde24bcc936d3dafc67 /gui/ListWidget.h
parentf2646d3e531a72d7867400db9c5ef75adc9ea029 (diff)
downloadscummvm-rg350-841c600fef543703919733939b6374ced0c8a982.tar.gz
scummvm-rg350-841c600fef543703919733939b6374ced0c8a982.tar.bz2
scummvm-rg350-841c600fef543703919733939b6374ced0c8a982.zip
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
Diffstat (limited to 'gui/ListWidget.h')
-rw-r--r--gui/ListWidget.h3
1 files changed, 2 insertions, 1 deletions
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);