Ticket #8700: themes_labels_default.patch

File themes_labels_default.patch, 3.6 KB (added by jvprat, 17 years ago)
  • gui/theme-config.cpp

     
    7373"\n"
    7474"# audio tab\n"
    7575"opYoffset=vBorder\n"
    76 "gameoptions_audioCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight\n"
     76"gameoptions_audioCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight\n"
    7777"opYoffset=(opYoffset + buttonHeight + 6)\n"
    7878"useWithPrefix=audioControls gameoptions_\n"
    7979"useWithPrefix=subtitleControls gameoptions_\n"
    8080"\n"
    8181"# volume tab\n"
    8282"opYoffset=vBorder\n"
    83 "gameoptions_volumeCheckbox=gox opYoffset (kFontHeight + 10 + 190) buttonHeight\n"
     83"gameoptions_volumeCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight\n"
    8484"opYoffset=(opYoffset + buttonHeight + 6)\n"
    8585"useWithPrefix=volumeControls gameoptions_\n"
    8686"\n"
     
    268268"# graphics tab\n"
    269269"opYoffset=vBorder\n"
    270270"opXoffset=gox\n"
    271 "gameoptions_graphicsCheckbox=gox opYoffset (kFontHeight + 10 + 192) buttonHeight\n"
     271"gameoptions_graphicsCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight\n"
    272272"opYoffset=(opYoffset + buttonHeight)\n"
    273273"useWithPrefix=graphicsControls gameoptions_\n"
    274274"\n"
    275275"# audio tab\n"
    276276"opYoffset=vBorder\n"
    277 "gameoptions_audioCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight\n"
     277"gameoptions_audioCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight\n"
    278278"opYoffset=(opYoffset + buttonHeight)\n"
    279279"useWithPrefix=audioControls gameoptions_\n"
    280280"useWithPrefix=subtitleControls gameoptions_\n"
    281281"\n"
    282282"# volume tab\n"
    283283"opYoffset=vBorder\n"
    284 "gameoptions_volumeCheckbox=gox opYoffset (kFontHeight + 10 + 190) buttonHeight\n"
     284"gameoptions_volumeCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight\n"
    285285"opYoffset=(opYoffset + buttonHeight)\n"
    286286"useWithPrefix=volumeControls gameoptions_\n"
    287287"\n"
    288288"# midi tab\n"
    289289"opYoffset=vBorder\n"
    290 "gameoptions_midiCheckbox=gox opYoffset (kFontHeight + 10 + 174) buttonHeight\n"
     290"gameoptions_midiCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight\n"
    291291"opYoffset=(opYoffset + buttonHeight)\n"
    292292"useWithPrefix=midiControls gameoptions_\n"
    293293"\n"
     
    387387"opYoffset=(opYoffset + kLineHeight + 4)\n"
    388388"grRenderPopup=prev.x (opYoffset - 1) prev.w prev.h\n"
    389389"opYoffset=(opYoffset + kLineHeight + 4)\n"
    390 "grFullscreenCheckbox=gcx opYoffset (kFontHeight + 10 + 96) buttonHeight\n"
     390"grFullscreenCheckbox=gcx opYoffset (parent.w - gcx - 5) buttonHeight\n"
    391391"opYoffset=(opYoffset + buttonHeight)\n"
    392 "grAspectCheckbox=prev.x opYoffset (kFontHeight + 10 + 180) prev.h\n"
     392"grAspectCheckbox=prev.x opYoffset prev.w prev.h\n"
    393393"opYoffset=(opYoffset + buttonHeight)\n"
    394394"\n"
    395395"[audioControls]\n"
     
    426426"mcFontPath=(prev.x2 + 20) (opYoffset + 3) (parent.w - (buttonWidth + 20) - 15 - kLineHeight - 10) kLineHeight\n"
    427427"mcFontClearButton=(prev.x2 + 10) (opYoffset + 2) kLineHeight kLineHeight\n"
    428428"opYoffset=(opYoffset + buttonHeight + 2 * midiControlsSpacing)\n"
    429 "mcMixedCheckbox=mcx opYoffset (kFontHeight + 10 + 135) buttonHeight\n"
     429"mcMixedCheckbox=mcx opYoffset (parent.w - mcx - 5) buttonHeight\n"
    430430"opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)\n"
    431 "mcMt32Checkbox=mcx opYoffset (kFontHeight + 10 + 256) buttonHeight\n"
     431"mcMt32Checkbox=mcx opYoffset prev.w buttonHeight\n"
    432432"opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)\n"
    433 "mcGSCheckbox=mcx opYoffset (kFontHeight + 10 + 142) buttonHeight\n"
     433"mcGSCheckbox=mcx opYoffset prev.w buttonHeight\n"
    434434"opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)\n"
    435435"mcMidiGainText=mcx (opYoffset + 2) 95 kLineHeight\n"
    436436"mcMidiGainText.align=kTextAlignRight\n"