[Scummvm-cvs-logs] CVS: scummvm/gui widget.cpp,1.13,1.14

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Wed May 21 09:19:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv11527

Modified Files:
	widget.cpp 
Log Message:
Variable initializations in SliderWidget


Index: widget.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/widget.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- widget.cpp	26 Mar 2003 12:30:19 -0000	1.13
+++ widget.cpp	21 May 2003 16:18:41 -0000	1.14
@@ -179,7 +179,7 @@
 
 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;
 }





More information about the Scummvm-git-logs mailing list