[Scummvm-cvs-logs] CVS: scummvm/gui widget.h,1.24,1.25

Max Horn fingolfin at users.sourceforge.net
Sun Jul 28 08:00:03 CEST 2002


Update of /cvsroot/scummvm/scummvm/gui
In directory usw-pr-cvs1:/tmp/cvs-serv16173

Modified Files:
	widget.h 
Log Message:
no reason to limit value to 8 bit!

Index: widget.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/widget.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- widget.h	27 Jul 2002 14:16:02 -0000	1.24
+++ widget.h	28 Jul 2002 14:59:27 -0000	1.25
@@ -176,8 +176,8 @@
 	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; }





More information about the Scummvm-git-logs mailing list