diff options
author | Max Horn | 2002-07-28 14:59:27 +0000 |
---|---|---|
committer | Max Horn | 2002-07-28 14:59:27 +0000 |
commit | 14cd6ec272c5c854cc8a5990de8f8ba128847b01 (patch) | |
tree | e8cb861c377e9975119a9cd4531af16af8d55936 | |
parent | a17dcb3ed6b12603384cbdf6b79e06f9e7f61523 (diff) | |
download | scummvm-rg350-14cd6ec272c5c854cc8a5990de8f8ba128847b01.tar.gz scummvm-rg350-14cd6ec272c5c854cc8a5990de8f8ba128847b01.tar.bz2 scummvm-rg350-14cd6ec272c5c854cc8a5990de8f8ba128847b01.zip |
no reason to limit value to 8 bit!
svn-id: r4669
-rw-r--r-- | gui/widget.h | 4 |
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; } |