parent
61c3f9d4aa
commit
0d6362ea48
15 changed files with 268 additions and 73 deletions
|
@ -50,6 +50,7 @@ const char *Theme::_defaultConfigINI =
|
|||
"def_scummhelpX=5\n"
|
||||
"def_scummhelpW=(w - 2 * 5)\n"
|
||||
"def_midiControlsSpacing=1\n"
|
||||
"def_vcAudioTabIndent=0\n"
|
||||
"use=XxY\n"
|
||||
"# Scumm Saveload dialog\n"
|
||||
"scummsaveload=8 8 (w - 2 * 8) (h - 16)\n"
|
||||
|
@ -85,6 +86,7 @@ const char *Theme::_defaultConfigINI =
|
|||
"def_scummhelpW=370\n"
|
||||
"def_scummhelpX=((w - scummhelpW) / 2)\n"
|
||||
"def_midiControlsSpacing=2\n"
|
||||
"def_vcAudioTabIndent=10\n"
|
||||
"##### Widgets config\n"
|
||||
"ListWidget.leftPadding=4\n"
|
||||
"ListWidget.rightPadding=0\n"
|
||||
|
@ -141,12 +143,14 @@ const char *Theme::_defaultConfigINI =
|
|||
"\n"
|
||||
"# graphics tab\n"
|
||||
"opYoffset=vBorder\n"
|
||||
"opXoffset=0\n"
|
||||
"useWithPrefix=graphicsControls globaloptions_\n"
|
||||
"\n"
|
||||
"# audio tab\n"
|
||||
"opYoffset=vBorder\n"
|
||||
"useWithPrefix=audioControls globaloptions_\n"
|
||||
"useWithPrefix=volumeControls globaloptions_\n"
|
||||
"useWithPrefix=subtitleControls globaloptions_\n"
|
||||
"\n"
|
||||
"# MIDI tab\n"
|
||||
"opYoffset=vBorder\n"
|
||||
|
@ -205,6 +209,7 @@ const char *Theme::_defaultConfigINI =
|
|||
"\n"
|
||||
"# graphics tab\n"
|
||||
"opYoffset=vBorder\n"
|
||||
"opXoffset=gox\n"
|
||||
"gameoptions_graphicsCheckbox=gox opYoffset (kFontHeight + 10 + 192) buttonHeight\n"
|
||||
"opYoffset=(opYoffset + buttonHeight)\n"
|
||||
"useWithPrefix=graphicsControls gameoptions_\n"
|
||||
|
@ -214,6 +219,7 @@ const char *Theme::_defaultConfigINI =
|
|||
"gameoptions_audioCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight\n"
|
||||
"opYoffset=(opYoffset + buttonHeight)\n"
|
||||
"useWithPrefix=audioControls gameoptions_\n"
|
||||
"useWithPrefix=subtitleControls gameoptions_\n"
|
||||
"\n"
|
||||
"# midi tab\n"
|
||||
"opYoffset=vBorder\n"
|
||||
|
@ -251,9 +257,8 @@ const char *Theme::_defaultConfigINI =
|
|||
"# hence it is on the end of the list\n"
|
||||
"opYoffset=8\n"
|
||||
"useWithPrefix=volumeControls scummconfig_\n"
|
||||
"scummconfig_subtitlesCheckbox=15 opYoffset (kFontHeight + 10 + 89) buttonHeight\n"
|
||||
"useWithPrefix=subtitleControls scummconfig_\n"
|
||||
"opYoffset=(opYoffset + buttonHeight)\n"
|
||||
"scummconfig_speechCheckbox=prev.x opYoffset (kFontHeight + 10 + 85) buttonHeight\n"
|
||||
"opYoffset=(opYoffset + buttonHeight + 4)\n"
|
||||
"soWidth=(8 + 3 * buttonWidth + 4)\n"
|
||||
"scummconfig_keys=(soWidth - 3 * (buttonWidth + 4) + 6) opYoffset (buttonWidth - 10) buttonHeight\n"
|
||||
|
@ -299,7 +304,6 @@ const char *Theme::_defaultConfigINI =
|
|||
"chooser_cancel=(chooserW - 2 * (buttonWidth + 10)) (opHeight - buttonHeight - 8) buttonWidth buttonHeight\n"
|
||||
"chooser_ok=(prev.x2 + 10) prev.y prev.w prev.h\n"
|
||||
"\n"
|
||||
"\n"
|
||||
"[graphicsControls]\n"
|
||||
"gcx=10\n"
|
||||
"gcw=(parent.w - 2 * 10)\n"
|
||||
|
@ -316,24 +320,23 @@ const char *Theme::_defaultConfigINI =
|
|||
"aux=10\n"
|
||||
"auw=(parent.w - 2 * 10)\n"
|
||||
"auMidiPopup=(aux - 5) (opYoffset - 1) (auw + 5) (kLineHeight + 2)\n"
|
||||
"opYoffset=(opYoffset + kLineHeight + 4)\n"
|
||||
"auSubtitlesCheckbox=aux opYoffset (kFontHeight + 10 + 102) buttonHeight\n"
|
||||
"opYoffset=(opYoffset + buttonHeight + 18)\n"
|
||||
"opYoffset=(opYoffset + buttonHeight + 4)\n"
|
||||
"\n"
|
||||
"[volumeControls]\n"
|
||||
"vctextw=95\n"
|
||||
"vcxoff=(vctextw + 15)\n"
|
||||
"vcMusicText=10 (opYoffset + 2) vctextw kLineHeight\n"
|
||||
"vctextw=(95 + vcAudioTabIndent)\n"
|
||||
"vcxoff=(opXoffset + vctextw + 15)\n"
|
||||
"vcx=(opXoffset + 10)\n"
|
||||
"vcMusicText=vcx (opYoffset + 2) vctextw kLineHeight\n"
|
||||
"vcMusicText.align=kTextAlignRight\n"
|
||||
"vcMusicSlider=vcxoff opYoffset sliderWidth sliderHeight\n"
|
||||
"vcMusicLabel=(vcxoff + prev.w + 10) (opYoffset + 2) 24 kLineHeight\n"
|
||||
"opYoffset=(opYoffset + sliderHeight + 4)\n"
|
||||
"vcSfxText=10 (opYoffset + 2) vctextw kLineHeight\n"
|
||||
"vcSfxText=vcx (opYoffset + 2) vctextw kLineHeight\n"
|
||||
"vcSfxText.align=kTextAlignRight\n"
|
||||
"vcSfxSlider=vcxoff opYoffset sliderWidth sliderHeight\n"
|
||||
"vcSfxLabel=(vcxoff + prev.w + 10) (opYoffset + 2) 24 kLineHeight\n"
|
||||
"opYoffset=(opYoffset + sliderHeight + 4)\n"
|
||||
"vcSpeechText=10 (opYoffset + 2) vctextw kLineHeight\n"
|
||||
"vcSpeechText=vcx (opYoffset + 2) vctextw kLineHeight\n"
|
||||
"vcSpeechText.align=kTextAlignRight\n"
|
||||
"vcSpeechSlider=vcxoff opYoffset sliderWidth sliderHeight\n"
|
||||
"vcSpeechLabel=(vcxoff + prev.w + 10) (opYoffset + 2) 24 kLineHeight\n"
|
||||
|
@ -351,6 +354,21 @@ const char *Theme::_defaultConfigINI =
|
|||
"mcGSCheckbox=mcx opYoffset (kFontHeight + 10 + 142) buttonHeight\n"
|
||||
"opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)\n"
|
||||
"\n"
|
||||
"[subtitleControls]\n"
|
||||
"sbx=(opXoffset + 10)\n"
|
||||
"sbYoff=(buttonHeight / 8)\n"
|
||||
"sbOff=((sliderHeight - kLineHeight) / 2 + 2)\n"
|
||||
"sbtextw=(100 + vcAudioTabIndent)\n"
|
||||
"opYoffset=(opYoffset + sbYoff)\n"
|
||||
"subToggleDesc=sbx (opYoffset + sbYoff) sbtextw buttonHeight\n"
|
||||
"subToggleButton=prev.x2 (opYoffset - sbYoff) (buttonWidth + 54) buttonHeight\n"
|
||||
"opYoffset=(opYoffset + buttonHeight + 6)\n"
|
||||
"subSubtitleSpeedDesc=sbx (opYoffset + sbOff) sbtextw kLineHeight\n"
|
||||
"subSubtitleSpeedDesc.align=kTextAlignRight\n"
|
||||
"subSubtitleSpeedSlider=prev.x2 opYoffset sliderWidth sliderHeight\n"
|
||||
"subSubtitleSpeedLabel=(prev.x2 + 10) (opYoffset + sbOff) 24 kLineHeight\n"
|
||||
"opYoffset=(opYoffset + sliderHeight + 8)\n"
|
||||
"\n"
|
||||
"[scummmain]\n"
|
||||
"## Main dialog\n"
|
||||
"# note that scummmain size depends on overall height\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue