diff options
author | Eugene Sandulenko | 2006-03-08 01:42:02 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-03-08 01:42:02 +0000 |
commit | a8a8624511f280ea1fdc9bb4bde4f79477b76ae1 (patch) | |
tree | 544b36ae8748d427bb0eb3ded7795f270c27d1c1 /engines/scumm | |
parent | cca7da5ba1fec174a692dfdb6dbc4805a9da44e2 (diff) | |
download | scummvm-rg350-a8a8624511f280ea1fdc9bb4bde4f79477b76ae1.tar.gz scummvm-rg350-a8a8624511f280ea1fdc9bb4bde4f79477b76ae1.tar.bz2 scummvm-rg350-a8a8624511f280ea1fdc9bb4bde4f79477b76ae1.zip |
o Converted most (all?) widgets to new scheme.
o Converted global options dialog to new scheme.
svn-id: r21137
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/dialogs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp index 2331231285..4e1e4c303e 100644 --- a/engines/scumm/dialogs.cpp +++ b/engines/scumm/dialogs.cpp @@ -693,15 +693,18 @@ ConfigDialog::ConfigDialog(ScummEngine *scumm) GUI::WidgetSize ws; int buttonWidth; int buttonHeight; + int sliderHeight; if (screenW >= 400 && screenH >= 300) { ws = GUI::kBigWidgetSize; buttonWidth = kBigButtonWidth; buttonHeight = kBigButtonHeight; + sliderHeight = GUI::kBigSliderHeight; } else { ws = GUI::kNormalWidgetSize; buttonWidth = kButtonWidth; buttonHeight = kButtonHeight; + sliderHeight = GUI::kSliderHeight; } int yoffset = 8; @@ -710,7 +713,8 @@ ConfigDialog::ConfigDialog(ScummEngine *scumm) // Sound controllers // - yoffset = addVolumeControls(this, yoffset, ws) + 4; + addVolumeControls(this, "scummoptions_"); + yoffset += (sliderHeight + 4) * 8; // // Some misc options |