aboutsummaryrefslogtreecommitdiff
path: root/gui/theme-config.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-03-10 13:39:38 +0000
committerEugene Sandulenko2007-03-10 13:39:38 +0000
commit5577379ac3d163c62d319a80f6749c9342401a01 (patch)
tree0a56af1e976c7757b8adb268f682206c55526b8e /gui/theme-config.cpp
parent669c34d8c280650fc07871b8556119c57a83ccda (diff)
downloadscummvm-rg350-5577379ac3d163c62d319a80f6749c9342401a01.tar.gz
scummvm-rg350-5577379ac3d163c62d319a80f6749c9342401a01.tar.bz2
scummvm-rg350-5577379ac3d163c62d319a80f6749c9342401a01.zip
Implement FR #1559561: "GUI: output sample rate widgets"
svn-id: r26056
Diffstat (limited to 'gui/theme-config.cpp')
-rw-r--r--gui/theme-config.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/gui/theme-config.cpp b/gui/theme-config.cpp
index fdcca9db6b..36c8cc5b60 100644
--- a/gui/theme-config.cpp
+++ b/gui/theme-config.cpp
@@ -55,6 +55,32 @@ const char *Theme::_defaultConfigINI =
"def_vcAudioTabSpacing=2\n"
"use=XxY\n"
"\n"
+"# Override audio tab\n"
+"set_parent=gameoptions\n"
+"vBorder=5\n"
+"\n"
+"# audio tab\n"
+"opYoffset=vBorder\n"
+"useWithPrefix=audioControls globaloptions_\n"
+"useWithPrefix=subtitleControls globaloptions_\n"
+"\n"
+"# volume tab\n"
+"opYoffset=vBorder\n"
+"useWithPrefix=volumeControls globaloptions_\n"
+"\n"
+"# audio tab\n"
+"opYoffset=vBorder\n"
+"gameoptions_audioCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight\n"
+"opYoffset=(opYoffset + buttonHeight + 6)\n"
+"useWithPrefix=audioControls gameoptions_\n"
+"useWithPrefix=subtitleControls gameoptions_\n"
+"\n"
+"# volume tab\n"
+"opYoffset=vBorder\n"
+"gameoptions_volumeCheckbox=gox opYoffset (kFontHeight + 10 + 190) buttonHeight\n"
+"opYoffset=(opYoffset + buttonHeight + 6)\n"
+"useWithPrefix=volumeControls gameoptions_\n"
+"\n"
"TabWidget.tabWidth=0\n"
"TabWidget.tabHeight=16\n"
"TabWidget.titleVPad=2\n"
@@ -348,6 +374,8 @@ const char *Theme::_defaultConfigINI =
"auw=(parent.w - 2 * 10)\n"
"auMidiPopup=(aux - 5) (opYoffset - 1) (auw + 5) (kLineHeight + 2)\n"
"opYoffset=(opYoffset + buttonHeight + 4)\n"
+"auSampleRatePopup=(aux - 5) (opYoffset - 1) (auw + 5) (kLineHeight + 2)\n"
+"opYoffset=(opYoffset + buttonHeight + 4)\n"
"\n"
"[volumeControls]\n"
"vctextw=(95 + vcAudioTabIndent)\n"