Ticket #4350: 4350_mainmenu.patch

File 4350_mainmenu.patch, 1.0 KB (added by Vladislav Belov, 3 years ago)

Adds a style for disabled buttons

  • binaries/data/mods/mod/gui/common/modern/styles.xml

     
    145145        sprite_pressed="ModernButtonRed"
    146146        font="sans-bold-stroke-14"
    147147        textcolor="white"
     148        textcolor_disabled="210 210 210 160"
    148149        text_align="center"
    149150        text_valign="center"
    150151        sound_pressed="audio/interface/ui/ui_button_click.ogg"
  • binaries/data/mods/public/gui/common/styles.xml

     
    163163        sprite_pressed="StoneButtonFancyGlow"
    164164        font="sans-bold-stroke-14"
    165165        textcolor="white"
     166        textcolor_disabled="210 210 210 160"
    166167        text_align="center"
    167168        text_valign="center"
    168169        sound_pressed="audio/interface/ui/ui_button_click.ogg"