aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-05-21 16:18:41 +0000
committerTorbjörn Andersson2003-05-21 16:18:41 +0000
commit4fb4626ac99eed69c86afd94371c5784f2ede61a (patch)
treed29234a3eb17954845ebfd0ab3ca69702609cb9e /gui
parent9fb601cd3fa5c869a50c2e7ac8fca1a450e8487c (diff)
downloadscummvm-rg350-4fb4626ac99eed69c86afd94371c5784f2ede61a.tar.gz
scummvm-rg350-4fb4626ac99eed69c86afd94371c5784f2ede61a.tar.bz2
scummvm-rg350-4fb4626ac99eed69c86afd94371c5784f2ede61a.zip
Variable initializations in SliderWidget
svn-id: r7786
Diffstat (limited to 'gui')
-rw-r--r--gui/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index ed899ffc57..4eadad7956 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -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;
}