Ticket #8700: themes_labels.patch

File themes_labels.patch, 5.4 KB (added by jvprat, 17 years ago)
  • gui/themes/modern.ini

     
    345345# graphics tab
    346346opYoffset=vBorder
    347347opXoffset=gox
    348 gameoptions_graphicsCheckbox=gox opYoffset (kFontHeight + 10 + 192) buttonHeight
     348gameoptions_graphicsCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    349349opYoffset=(opYoffset + buttonHeight + 6)
    350350useWithPrefix=graphicsControls gameoptions_
    351351
    352352# audio tab
    353353opYoffset=vBorder
    354 gameoptions_audioCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight
     354gameoptions_audioCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    355355opYoffset=(opYoffset + buttonHeight + 6)
    356356useWithPrefix=audioControls gameoptions_
    357357useWithPrefix=subtitleControls gameoptions_
    358358
    359359# volume tab
    360360opYoffset=vBorder
    361 gameoptions_volumeCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight
     361gameoptions_volumeCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    362362opYoffset=(opYoffset + buttonHeight + 6)
    363363useWithPrefix=volumeControls gameoptions_
    364364
    365365# midi tab
    366366opYoffset=vBorder
    367 gameoptions_midiCheckbox=gox opYoffset (kFontHeight + 10 + 174) buttonHeight
     367gameoptions_midiCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    368368opYoffset=(opYoffset + buttonHeight + 6)
    369369useWithPrefix=midiControls gameoptions_
    370370
     
    478478opYoffset=(opYoffset + kLineHeight + 12)
    479479grRenderPopup=prev.x (opYoffset - 1) prev.w prev.h
    480480opYoffset=(opYoffset + kLineHeight + 16)
    481 grFullscreenCheckbox=gcx opYoffset (kFontHeight + 10 + 96) buttonHeight
     481grFullscreenCheckbox=gcx opYoffset (parent.w - gcx - 5) buttonHeight
    482482opYoffset=(opYoffset + buttonHeight + 4)
    483 grAspectCheckbox=prev.x opYoffset (kFontHeight + 10 + 136) prev.h
     483grAspectCheckbox=prev.x opYoffset prev.w prev.h
    484484opYoffset=(opYoffset + buttonHeight + 4)
    485485
    486486[audioControls]
     
    518518mcFontPath=(prev.x2 + 20) (opYoffset + mcOff) (parent.w - (buttonWidth + 20) - mcx - kLineHeight - 20) kLineHeight
    519519mcFontClearButton=(prev.x2 + 10) (opYoffset + mcOff) kLineHeight kLineHeight
    520520opYoffset=(opYoffset + buttonHeight + 6 * midiControlsSpacing)
    521 mcMixedCheckbox=mcx opYoffset (kFontHeight + 10 + 135) buttonHeight
     521mcMixedCheckbox=mcx opYoffset (parent.w - mcx - 5) buttonHeight
    522522opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
    523 mcMt32Checkbox=mcx opYoffset (kFontHeight + 10 + 256) buttonHeight
     523mcMt32Checkbox=mcx opYoffset prev.w buttonHeight
    524524opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
    525 mcGSCheckbox=mcx opYoffset (kFontHeight + 10 + 142) buttonHeight
     525mcGSCheckbox=mcx opYoffset prev.w buttonHeight
    526526opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
    527527mcMidiGainText=mcx (opYoffset + 2) 80 kLineHeight
    528528mcMidiGainText.align=kTextAlignRight
  • gui/themes/classic080.ini

     
    187187# graphics tab
    188188opYoffset=vBorder
    189189opXoffset=gox
    190 gameoptions_graphicsCheckbox=gox opYoffset (kFontHeight + 10 + 192) buttonHeight
     190gameoptions_graphicsCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    191191opYoffset=(opYoffset + buttonHeight)
    192192useWithPrefix=graphicsControls gameoptions_
    193193
    194194# audio tab
    195195opYoffset=vBorder
    196 gameoptions_audioCheckbox=gox opYoffset (kFontHeight + 10 + 180) buttonHeight
     196gameoptions_audioCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    197197opYoffset=(opYoffset + buttonHeight)
    198198useWithPrefix=audioControls gameoptions_
    199199useWithPrefix=subtitleControls gameoptions_
    200200
    201201# volume tab
    202202opYoffset=vBorder
    203 gameoptions_volumeCheckbox=gox opYoffset (kFontHeight + 10 + 190) buttonHeight
     203gameoptions_volumeCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    204204opYoffset=(opYoffset + buttonHeight)
    205205useWithPrefix=volumeControls gameoptions_
    206206
    207207# midi tab
    208208opYoffset=vBorder
    209 gameoptions_midiCheckbox=gox opYoffset (kFontHeight + 10 + 174) buttonHeight
     209gameoptions_midiCheckbox=gox opYoffset (parent.w - gox - 5) buttonHeight
    210210opYoffset=(opYoffset + buttonHeight)
    211211useWithPrefix=midiControls gameoptions_
    212212
     
    305305opYoffset=(opYoffset + kLineHeight + 4)
    306306grRenderPopup=prev.x (opYoffset - 1) prev.w prev.h
    307307opYoffset=(opYoffset + kLineHeight + 4)
    308 grFullscreenCheckbox=gcx opYoffset (kFontHeight + 10 + 96) buttonHeight
     308grFullscreenCheckbox=gcx opYoffset (parent.w - gcx - 5) buttonHeight
    309309opYoffset=(opYoffset + buttonHeight)
    310 grAspectCheckbox=prev.x opYoffset (kFontHeight + 10 + 180) prev.h
     310grAspectCheckbox=prev.x opYoffset prev.w prev.h
    311311opYoffset=(opYoffset + buttonHeight)
    312312
    313313[audioControls]
     
    344344mcFontPath=(prev.x2 + 20) (opYoffset + 3) (parent.w - (buttonWidth + 20) - mcx - kLineHeight - 20) kLineHeight
    345345mcFontClearButton=(prev.x2 + 10) (opYoffset + 3) kLineHeight kLineHeight
    346346opYoffset=(opYoffset + buttonHeight + 2 * midiControlsSpacing)
    347 mcMixedCheckbox=mcx opYoffset (kFontHeight + 10 + 135) buttonHeight
     347mcMixedCheckbox=mcx opYoffset (parent.w - mcx - 5) buttonHeight
    348348opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
    349 mcMt32Checkbox=mcx opYoffset (kFontHeight + 10 + 256) buttonHeight
     349mcMt32Checkbox=mcx opYoffset prev.w buttonHeight
    350350opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
    351 mcGSCheckbox=mcx opYoffset (kFontHeight + 10 + 142) buttonHeight
     351mcGSCheckbox=mcx opYoffset prev.w buttonHeight
    352352opYoffset=(opYoffset + buttonHeight + midiControlsSpacing)
    353353mcMidiGainText=mcx (opYoffset + 2) 95 kLineHeight
    354354mcMidiGainText.align=kTextAlignRight