[Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.15,1.16

Travis Howell kirben at users.sourceforge.net
Wed Oct 23 04:07:03 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv6138/scumm

Modified Files:
	dialogs.cpp 
Log Message:

Add new command lime switch to readme and correct default volumes.
Change volume limits in gui to 255


Index: dialogs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- dialogs.cpp	22 Oct 2002 22:46:03 -0000	1.15
+++ dialogs.cpp	23 Oct 2002 11:05:59 -0000	1.16
@@ -506,9 +506,9 @@
 	musicVolumeSlider  = new SliderWidget(this, 115, 24, 80, 12, "Volume2", kMusicVolumeChanged);
 	sfxVolumeSlider    = new SliderWidget(this, 115, 40, 80, 12, "Volume3", kSfxVolumeChanged);
 
-	masterVolumeSlider->setMinValue(0);	masterVolumeSlider->setMaxValue(256);
-	musicVolumeSlider->setMinValue(0);	musicVolumeSlider->setMaxValue(256);
-	sfxVolumeSlider->setMinValue(0);	sfxVolumeSlider->setMaxValue(256);
+	masterVolumeSlider->setMinValue(0);	masterVolumeSlider->setMaxValue(255);
+	musicVolumeSlider->setMinValue(0);	musicVolumeSlider->setMaxValue(255);
+	sfxVolumeSlider->setMinValue(0);	sfxVolumeSlider->setMaxValue(255);
 
 	masterVolumeLabel = new StaticTextWidget(this, 200, 10, 60, 16, "Volume1", kTextAlignLeft);
 	musicVolumeLabel  = new StaticTextWidget(this, 200, 26, 60, 16, "Volume2", kTextAlignLeft);





More information about the Scummvm-git-logs mailing list