aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-13 01:42:31 +0000
committerMax Horn2002-12-13 01:42:31 +0000
commit1f64278abb5908f96f98321f732fb00032847a98 (patch)
tree60784aba4368993d0c6a3141477c1ea72e4d4802
parent5e0db4cb8c053bd8b0c2069b22ba66c94efca253 (diff)
downloadscummvm-rg350-1f64278abb5908f96f98321f732fb00032847a98.tar.gz
scummvm-rg350-1f64278abb5908f96f98321f732fb00032847a98.tar.bz2
scummvm-rg350-1f64278abb5908f96f98321f732fb00032847a98.zip
fixup dummy options dialog a bit
svn-id: r5925
-rw-r--r--gui/options.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index 7d4a4d4944..075ab3be4e 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -42,9 +42,9 @@ GlobalOptionsDialog::GlobalOptionsDialog(NewGui *gui)
{
// The GFX mode popup & a label
// TODO - add an API to query the list of available GFX modes, and to get/set the mode
- new StaticTextWidget(this, 10, 10+1, 90, kLineHeight, "Graphics: ", kTextAlignRight);
+ new StaticTextWidget(this, 10, 10+1, 100, kLineHeight, "Graphics: ", kTextAlignRight);
PopUpWidget *gfxPopUp;
- gfxPopUp = new PopUpWidget(this, 100, 10, 200, kLineHeight);
+ gfxPopUp = new PopUpWidget(this, 110, 10, 180, kLineHeight);
gfxPopUp->appendEntry("Normal (no scaling)");
gfxPopUp->appendEntry("2x");
gfxPopUp->appendEntry("3x");
@@ -56,9 +56,9 @@ GlobalOptionsDialog::GlobalOptionsDialog(NewGui *gui)
// The MIDI mode popup & a label
// TODO - add an API to query the list of available MIDI drivers
- new StaticTextWidget(this, 10, 26+1, 90, kLineHeight, "MIDI driver: ", kTextAlignRight);
+ new StaticTextWidget(this, 10, 26+1, 100, kLineHeight, "MIDI driver: ", kTextAlignRight);
PopUpWidget *midiPopUp;
- midiPopUp = new PopUpWidget(this, 100, 26, 200, kLineHeight);
+ midiPopUp = new PopUpWidget(this, 110, 26, 180, kLineHeight);
midiPopUp->appendEntry("None");
midiPopUp->appendEntry("Adlib");
midiPopUp->appendEntry("CoreAudio");
@@ -70,15 +70,15 @@ GlobalOptionsDialog::GlobalOptionsDialog(NewGui *gui)
// Sound controllers
//
const int yoffset = 45;
- new StaticTextWidget(this, 10, yoffset+10, 90, 16, "Master volume: ", kTextAlignRight);
- new StaticTextWidget(this, 10, yoffset+26, 90, 16, "Music volume: ", kTextAlignRight);
- new StaticTextWidget(this, 10, yoffset+42, 90, 16, "SFX volume: ", kTextAlignRight);
+ new StaticTextWidget(this, 10, yoffset+10, 100, 16, "Master volume: ", kTextAlignRight);
+ new StaticTextWidget(this, 10, yoffset+26, 100, 16, "Music volume: ", kTextAlignRight);
+ new StaticTextWidget(this, 10, yoffset+42, 100, 16, "SFX volume: ", kTextAlignRight);
SliderWidget *masterVolumeSlider, *musicVolumeSlider, *sfxVolumeSlider;
- masterVolumeSlider = new SliderWidget(this, 110, yoffset+8, 80, 12, "Volume1", 0);
- musicVolumeSlider = new SliderWidget(this, 110, yoffset+24, 80, 12, "Volume2", 0);
- sfxVolumeSlider = new SliderWidget(this, 110, yoffset+40, 80, 12, "Volume3", 0);
+ masterVolumeSlider = new SliderWidget(this, 110, yoffset+8, 85, 12, "Volume1", 0);
+ musicVolumeSlider = new SliderWidget(this, 110, yoffset+24, 85, 12, "Volume2", 0);
+ sfxVolumeSlider = new SliderWidget(this, 110, yoffset+40, 85, 12, "Volume3", 0);
masterVolumeSlider->setMinValue(0); masterVolumeSlider->setMaxValue(255);
musicVolumeSlider->setMinValue(0); musicVolumeSlider->setMaxValue(255);