mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
Variable initializations in SliderWidget
svn-id: r7786
This commit is contained in:
parent
9fb601cd3f
commit
4fb4626ac9
@ -179,7 +179,7 @@ void CheckboxWidget::drawWidget(bool hilite) {
|
||||
|
||||
SliderWidget::SliderWidget(Dialog *boss, int x, int y, int w, int h, const String &label, uint32 cmd, uint8 hotkey)
|
||||
: ButtonWidget(boss, x, y, w, h, label, cmd, hotkey),
|
||||
_value(0), _valueMin(0), _valueMax(100) {
|
||||
_value(0), _oldValue(0),_valueMin(0), _valueMax(100), _isDragging(false) {
|
||||
_flags = WIDGET_ENABLED | WIDGET_TRACK_MOUSE | WIDGET_CLEARBG;
|
||||
_type = kSliderWidget;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user