diff options
author | Max Horn | 2002-11-06 17:36:56 +0000 |
---|---|---|
committer | Max Horn | 2002-11-06 17:36:56 +0000 |
commit | 73452fa331df18d1226db253ab6b9cc87d3d23ea (patch) | |
tree | abba30466f987230b63d3e09745cfa21b423be62 | |
parent | 2d6f9472c76e549226695ae13f4a965072ff5411 (diff) | |
download | scummvm-rg350-73452fa331df18d1226db253ab6b9cc87d3d23ea.tar.gz scummvm-rg350-73452fa331df18d1226db253ab6b9cc87d3d23ea.tar.bz2 scummvm-rg350-73452fa331df18d1226db253ab6b9cc87d3d23ea.zip |
fix options dialog
svn-id: r5447
-rw-r--r-- | scumm/dialogs.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 5be51a9e85..5f0aea12e1 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -485,7 +485,7 @@ enum { }; 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 @@ OptionsDialog::OptionsDialog(NewGui *gui, Scumm *scumm) // // 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 @@ OptionsDialog::OptionsDialog(NewGui *gui, Scumm *scumm) // // 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'); // |