[Scummvm-cvs-logs] CVS: scummvm/gui dialog.cpp,1.31,1.32

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


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

Modified Files:
	dialog.cpp 
Log Message:
added constants for the default volumes; changed the volume ranges from 0-255 to 0-256

Index: dialog.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/dialog.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- dialog.cpp	27 Jul 2002 14:16:02 -0000	1.31
+++ dialog.cpp	28 Jul 2002 15:03:45 -0000	1.32
@@ -412,9 +412,9 @@
 	musicVolumeSlider = new SliderWidget(this, 110, 33, 80, 16, "Volume2", kMusicVolumeChanged);
 	sfxVolumeSlider = new SliderWidget(this, 110, 53, 80, 16, "Volume3", kSfxVolumeChanged);
 
-	masterVolumeSlider->setMinValue(0);	masterVolumeSlider->setMaxValue(255);
-	musicVolumeSlider->setMinValue(0);	musicVolumeSlider->setMaxValue(255);
-	sfxVolumeSlider->setMinValue(0);	sfxVolumeSlider->setMaxValue(255);
+	masterVolumeSlider->setMinValue(0);	masterVolumeSlider->setMaxValue(256);
+	musicVolumeSlider->setMinValue(0);	musicVolumeSlider->setMaxValue(256);
+	sfxVolumeSlider->setMinValue(0);	sfxVolumeSlider->setMaxValue(256);
 
 	masterVolumeLabel = new StaticTextWidget(this, 195, 17, 60, 16, "Volume1", kTextAlignLeft);
 	musicVolumeLabel = new StaticTextWidget(this, 195, 37, 60, 16, "Volume2", kTextAlignLeft);





More information about the Scummvm-git-logs mailing list