[Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.23,1.24

Max Horn fingolfin at users.sourceforge.net
Wed Nov 6 09:37:07 CET 2002


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

Modified Files:
	dialogs.cpp 
Log Message:
fix options dialog

Index: dialogs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- dialogs.cpp	6 Nov 2002 14:19:50 -0000	1.23
+++ dialogs.cpp	6 Nov 2002 17:36:56 -0000	1.24
@@ -485,7 +485,7 @@
 };
 
 OptionsDialog::OptionsDialog(NewGui *gui, Scumm *scumm)
-	: ScummDialog(gui, scumm, 30, 20, 260, 124)
+	: ScummDialog(gui, scumm, 40, 30, 240, 124)
 {
 	//
 	// Add the buttons
@@ -502,21 +502,21 @@
 	//
 	// Sound controllers
 	//
-	new StaticTextWidget(this, 25, 10, 85, 16, "Master volume:", kTextAlignRight);
-	new StaticTextWidget(this, 25, 26, 85, 16, "Music volume:", kTextAlignRight);
-	new StaticTextWidget(this, 25, 42, 85, 16, "SFX volume:", kTextAlignRight);
+	new StaticTextWidget(this, 15, 10, 95, 16, "Master volume:", kTextAlignRight);
+	new StaticTextWidget(this, 15, 26, 95, 16, "Music volume:", kTextAlignRight);
+	new StaticTextWidget(this, 15, 42, 95, 16, "SFX volume:", kTextAlignRight);
 
-	masterVolumeSlider = new SliderWidget(this, 115, 8, 80, 12, "Volume1", kMasterVolumeChanged);
-	musicVolumeSlider  = new SliderWidget(this, 115, 24, 80, 12, "Volume2", kMusicVolumeChanged);
-	sfxVolumeSlider    = new SliderWidget(this, 115, 40, 80, 12, "Volume3", kSfxVolumeChanged);
+	masterVolumeSlider = new SliderWidget(this, 125, 8, 80, 12, "Volume1", kMasterVolumeChanged);
+	musicVolumeSlider  = new SliderWidget(this, 125, 24, 80, 12, "Volume2", kMusicVolumeChanged);
+	sfxVolumeSlider    = new SliderWidget(this, 125, 40, 80, 12, "Volume3", kSfxVolumeChanged);
 
 	masterVolumeSlider->setMinValue(0);	masterVolumeSlider->setMaxValue(255);
 	musicVolumeSlider->setMinValue(0);	musicVolumeSlider->setMaxValue(255);
 	sfxVolumeSlider->setMinValue(0);	sfxVolumeSlider->setMaxValue(255);
 
-	masterVolumeLabel = new StaticTextWidget(this, 200, 10, 40, 16, "Volume1", kTextAlignLeft);
-	musicVolumeLabel  = new StaticTextWidget(this, 200, 26, 40, 16, "Volume2", kTextAlignLeft);
-	sfxVolumeLabel    = new StaticTextWidget(this, 200, 42, 40, 16, "Volume3", kTextAlignLeft);
+	masterVolumeLabel = new StaticTextWidget(this, 210, 10, 24, 16, "Volume1", kTextAlignLeft);
+	musicVolumeLabel  = new StaticTextWidget(this, 210, 26, 24, 16, "Volume2", kTextAlignLeft);
+	sfxVolumeLabel    = new StaticTextWidget(this, 210, 42, 24, 16, "Volume3", kTextAlignLeft);
 	
 	masterVolumeLabel->setFlags(WIDGET_CLEARBG);
 	musicVolumeLabel->setFlags(WIDGET_CLEARBG);
@@ -525,8 +525,8 @@
 	//
 	// Some misc options
 	//
-	subtitlesCheckbox = new CheckboxWidget(this, 25, 62, 100, 16, "Show subtitles", 0, 'S');
-	amigaPalCheckbox  = new CheckboxWidget(this, 25, 80, 100, 16, "Amiga palette conversion", 0, 'P');
+	subtitlesCheckbox = new CheckboxWidget(this, 15, 62, 200, 16, "Show subtitles", 0, 'S');
+	amigaPalCheckbox  = new CheckboxWidget(this, 15, 80, 200, 16, "Amiga palette conversion", 0, 'P');
 
 
 	//





More information about the Scummvm-git-logs mailing list