diff options
-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; } |