diff options
author | Max Horn | 2002-07-28 15:03:45 +0000 |
---|---|---|
committer | Max Horn | 2002-07-28 15:03:45 +0000 |
commit | 6dd5de48f91a3c693432723eb083491c0c3d4d74 (patch) | |
tree | eb8a34305616f7cf54e5fd60cc604f721ff87051 /gui | |
parent | 14cd6ec272c5c854cc8a5990de8f8ba128847b01 (diff) | |
download | scummvm-rg350-6dd5de48f91a3c693432723eb083491c0c3d4d74.tar.gz scummvm-rg350-6dd5de48f91a3c693432723eb083491c0c3d4d74.tar.bz2 scummvm-rg350-6dd5de48f91a3c693432723eb083491c0c3d4d74.zip |
added constants for the default volumes; changed the volume ranges from 0-255 to 0-256
svn-id: r4670
Diffstat (limited to 'gui')
-rw-r--r-- | gui/dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index a6bb965f98..338bfc2db5 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -412,9 +412,9 @@ SoundDialog::SoundDialog(NewGui *gui) 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); |