Ticket #4222: 4222_3.patch

File 4222_3.patch, 6.6 KB (added by Vladislav Belov, 8 years ago)
  • binaries/data/mods/public/gui/credits/credits.xml

     
    2020
    2121        <object type="image" size="20 30 210 100%-54">
    2222            <repeat count="20">
    23                 <object name="creditsPanelButton[n]" type="button" sprite="BackgroundBox" size="0 0 190 30" hidden="true">
     23                <object name="creditsPanelButton[n]" type="button" sprite="BackgroundBox" sound_pressed="audio/interface/ui/ui_button_click.ogg" size="0 0 190 30" hidden="true">
    2424                    <object type="text" name="creditsPanelButtonText[n]" style="ModernLabelText" ghost="true">
    2525                    </object>
    2626                </object>
  • binaries/data/mods/public/gui/gamesetup/gamesetup.xml

     
    6161
    6262                    <object name="civInfoButton"
    6363                        type="button"
     64                        style="IconButton"
    6465                        sprite="iconInfoGold"
    6566                        sprite_over="iconInfoWhite"
    6667                        size="67.5%+68 0 67.5%+84 16"
    67                         tooltip_style="onscreenToolTip"
    6868                    >
    6969                        <translatableAttribute id="tooltip">View civilization info</translatableAttribute>
    7070                        <action on="Press"><![CDATA[
     
    7474
    7575                    <object name="civResetButton"
    7676                        type="button"
     77                        style="IconButton"
    7778                        sprite="iconResetGold"
    7879                        sprite_over="iconResetWhite"
    7980                        size="67.5%+93 0 67.5%+109 16"
    80                         tooltip_style="onscreenToolTip"
    8181                    >
    8282                        <translatableAttribute id="tooltip">Reset any civilizations that have been selected to the default (random)</translatableAttribute>
    8383                        <action on="Press">resetCivilizations();</action>
     
    8989
    9090                    <object name="teamResetButton"
    9191                        type="button"
     92                        style="IconButton"
    9293                        sprite="iconResetGold"
    9394                        sprite_over="iconResetWhite"
    9495                        size="100%-30 0 100%-15 16"
    95                         tooltip_style="onscreenToolTip"
    9696                    >
    9797                        <translatableAttribute id="tooltip">Reset all teams to the default.</translatableAttribute>
    9898                        <action on="Press">resetTeams();</action>
  • binaries/data/mods/public/gui/gamesetup/styles.xml

     
    1414        text_valign="center"
    1515    />
    1616
     17    <style name="IconButton"
     18        tooltip_style="onscreenToolTip"
     19        sound_pressed="audio/interface/ui/ui_button_click.ogg"
     20    />
     21
    1722</styles>
  • binaries/data/mods/public/gui/page_summary.xml

     
    66
    77    <include>common/global.xml</include>
    88
     9    <include>summary/styles.xml</include>
    910    <include>summary/summary.xml</include>
    1011    <include>summary/sprites.xml</include>
    1112</page>
  • binaries/data/mods/public/gui/summary/styles.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2
     3<styles>
     4
     5    <style name="TabButton"
     6        sound_pressed="audio/interface/ui/ui_button_click.ogg"
     7    />
     8
     9</styles>
  • binaries/data/mods/public/gui/summary/summary.xml

     
    5656        <object name="tabDividerLeft" type="image" sprite="TabSpacer" size="172 120 174 122"/>
    5757        <object name="tabDividerRight" type="image" sprite="TabSpacer" size="328 120 330 122"/>
    5858
    59         <object name="scorePanelButton" type="button" sprite="ForegroundTab" size="20 92 136 120">
     59        <object name="scorePanelButton" type="button" sprite="ForegroundTab" style="TabButton" size="20 92 136 120">
    6060            <action on="Press">selectPanel(this);</action>
    6161            <object type="text" style="ModernLabelText" ghost="true">
    6262                <translatableAttribute id="caption">Score</translatableAttribute>
     
    6363            </object>
    6464        </object>
    6565
    66         <object name="buildingsPanelButton" type="button" sprite="BackgroundTab" size="142 92 260 120">
     66        <object name="buildingsPanelButton" type="button" sprite="BackgroundTab" style="TabButton" size="142 92 260 120">
    6767            <action on="Press">selectPanel(this);</action>
    6868            <object type="text" style="ModernLabelText" ghost="true">
    6969                <translatableAttribute id="caption">Buildings</translatableAttribute>
     
    7070            </object>
    7171        </object>
    7272
    73         <object name="unitsPanelButton" type="button" sprite="BackgroundTab" size="266 92 384 120">
     73        <object name="unitsPanelButton" type="button" sprite="BackgroundTab" style="TabButton" size="266 92 384 120">
    7474            <action on="Press">selectPanel(this);</action>
    7575            <object type="text" style="ModernLabelText" ghost="true">
    7676                <translatableAttribute id="caption">Units</translatableAttribute>
     
    7777            </object>
    7878        </object>
    7979
    80         <object name="resourcesPanelButton" type="button" sprite="BackgroundTab" size="390 92 508 120">
     80        <object name="resourcesPanelButton" type="button" sprite="BackgroundTab" style="TabButton" size="390 92 508 120">
    8181            <action on="Press">selectPanel(this);</action>
    8282            <object type="text" style="ModernLabelText" ghost="true">
    8383                <translatableAttribute id="caption">Resources</translatableAttribute>
     
    8484            </object>
    8585        </object>
    8686
    87         <object name="marketPanelButton" type="button" sprite="BackgroundTab" size="514 92 632 120">
     87        <object name="marketPanelButton" type="button" sprite="BackgroundTab" style="TabButton" size="514 92 632 120">
    8888            <action on="Press">selectPanel(this);</action>
    8989            <object type="text" style="ModernLabelText" ghost="true">
    9090                <translatableAttribute id="caption">Market</translatableAttribute>
     
    9191            </object>
    9292        </object>
    9393
    94         <object name="miscPanelButton" type="button" sprite="BackgroundTab" size="638 92 756 120">
     94        <object name="miscPanelButton" type="button" sprite="BackgroundTab" style="TabButton" size="638 92 756 120">
    9595            <action on="Press">selectPanel(this);</action>
    9696            <object type="text" style="ModernLabelText" ghost="true">
    9797                <translatableAttribute id="caption">Miscellaneous</translatableAttribute>