aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2002-07-28 14:59:27 +0000
committerMax Horn2002-07-28 14:59:27 +0000
commit14cd6ec272c5c854cc8a5990de8f8ba128847b01 (patch)
treee8cb861c377e9975119a9cd4531af16af8d55936 /gui
parenta17dcb3ed6b12603384cbdf6b79e06f9e7f61523 (diff)
downloadscummvm-rg350-14cd6ec272c5c854cc8a5990de8f8ba128847b01.tar.gz
scummvm-rg350-14cd6ec272c5c854cc8a5990de8f8ba128847b01.tar.bz2
scummvm-rg350-14cd6ec272c5c854cc8a5990de8f8ba128847b01.zip
no reason to limit value to 8 bit!
svn-id: r4669
Diffstat (limited to 'gui')
-rw-r--r--gui/widget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.h b/gui/widget.h
index ef3ca50356..7f0901cc3d 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -176,8 +176,8 @@ protected:
bool _isDragging;
public:
SliderWidget(Dialog *boss, int x, int y, int w, int h, const char *label, uint32 cmd = 0, uint8 hotkey = 0);
- void setValue(uint8 value) { _value = value; }
- uint8 getValue() const { return _value; }
+ void setValue(int value) { _value = value; }
+ int getValue() const { return _value; }
void setMinValue(int value) { _valueMin = value; }
int getMinValue() const { return _valueMin; }