This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 10075 for ps


Ignore:
Timestamp:
08/23/11 05:51:04 (13 years ago)
Author:
brian
Message:

Clean up some styles

Location:
ps/trunk/binaries/data/mods/public/gui
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/binaries/data/mods/public/gui/common/common_sprites.xml

    r10072 r10075  
    271271            size="0 0 100% 100%"
    272272        />
     273        </sprite>
     274
     275    <sprite name="StoneButtonGlow">
     276        <effect add_color="60 42 42 0" />
     277        <image  texture="global/button/button_stone_selected.png"
     278            real_texture_placement="0 0 256 32"
     279            size="0 0 100% 100%"
     280        />
     281        </sprite>
     282
     283    <sprite name="StoneButtonFancyOver">
     284        <image  texture="global/button/button_stone_selected.png"
     285            real_texture_placement="0 0 256 32"
     286            size="0 0 100% 100%"
     287        />
    273288        <image  texture="global/button/button_stone_selected_left_trim.png"
    274289            real_texture_placement="0 0 32 32"
     
    281296        </sprite>
    282297
    283     <sprite name="StoneButtonGlow">
     298    <sprite name="StoneButtonFancyGlow">
    284299        <effect add_color="60 42 42 0" />
    285300        <image  texture="global/button/button_stone_selected.png"
  • ps/trunk/binaries/data/mods/public/gui/common/common_styles.xml

    r10072 r10075  
    114114    ==========================================
    115115    -->
     116
     117    <style  name="StoneButtonFancy"
     118        sprite="StoneButton"
     119        sprite_disabled="StoneButtonDisabled"
     120        sprite_over="StoneButtonFancyOver"
     121        sprite_pressed="StoneButtonFancyGlow"
     122        font="serif-bold-stroke-14"
     123        textcolor="gold"
     124        text_align="center"
     125        text_valign="center"
     126    />
    116127
    117128    <style  name="StoneButton"
     
    120131        sprite_over="StoneButtonOver"
    121132        sprite_pressed="StoneButtonGlow"
    122         font="serif-bold-stroke-14"
    123         textcolor="gold"
    124         text_align="center"
    125         text_valign="center"
    126     />
    127 
    128     <style  name="StoneButtonPlain"
    129         sprite="StoneButton"
    130         sprite_disabled="StoneButtonDisabled"
    131         sprite_over="StoneButton"
    132         sprite_pressed="StoneButton"
    133133        font="serif-bold-stroke-14"
    134134        textcolor="gold"
  • ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup.xml

    r10072 r10075  
    116116                        <object name="playerName[n]" type="text" style="RightLabelText" size="0 0 100 100%"/>
    117117                        <object name="playerAssignment[n]" type="dropdown" style="StoneDropDown" size="100 2 250 100%-2" tooltip_style="onscreenToolTip" tooltip="Select player"/>
    118                         <object name="playerConfig[n]" type="button" style="StoneButtonPlain" size="251 6 264 24"
     118                        <object name="playerConfig[n]" type="button" style="StoneButton" size="251 6 264 24"
    119119                            tooltip_style="onscreenToolTip"
    120120                            tooltip="Configure AI settings"
     
    156156            </object>
    157157   
    158             <object size="100%-65 100%-23 100% 100%-3" type="button" style="StoneButtonPlain">
     158            <object size="100%-65 100%-23 100% 100%-3" type="button" style="StoneButton">
    159159                Send
    160160                <action on="Press">submitChatInput();</action>
  • ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml

    r10072 r10075  
    9494                <object name="menuLearnToPlayButton"
    9595                                      type="button"
    96                                       style="StoneButton"
     96                                      style="StoneButtonFancy"
    9797                                      size="4 4 100%-4 36"
    9898                                      tooltip_style="pgToolTip"
     
    106106                           
    107107                               <object name="menuSinglePlayerButton"
    108                                        style="StoneButton"
     108                                       style="StoneButtonFancy"
    109109                                       type="button"
    110110                                       size="4 36 100%-4 68"
     
    120120                               
    121121                                <object name="menuMultiPlayerButton"
    122                                         style="StoneButton"
     122                                        style="StoneButtonFancy"
    123123                                        type="button"
    124124                                        size="4 68 100%-4 100"
     
    134134
    135135                                <object name="menuEditorButton"
    136                                         style="StoneButton"
     136                                        style="StoneButtonFancy"
    137137                                        type="button"
    138138                                        size="4 100 100%-4 132"
     
    150150                               
    151151                                <object name="menuOptionsButton"
    152                                         style="StoneButton"
     152                                        style="StoneButtonFancy"
    153153                                        type="button"
    154154                                        size="4 132 100%-4 164"
     
    167167                                <object name="menuExitButton"
    168168                                        type="button"
    169                                         style="StoneButton"
     169                                        style="StoneButtonFancy"
    170170                                        size="4 164 100%-4 196"
    171171                                        tooltip_style="pgToolTip"
     
    181181
    182182<!--                        <object name="menuCampaignsButton"
    183                                        style="StoneButton"
     183                                       style="StoneButtonFancy"
    184184                                       type="button"
    185185                                       size="4 36 100%-4 68"
     
    195195-->
    196196<!--                        <object name="menuHistoryButton"
    197                                 style="StoneButton"
     197                                style="StoneButtonFancy"
    198198                                type="button"
    199199                                size="4 36 100%-4 68"
     
    232232                <!-- CONTACT METHODS -->
    233233                    <object type="button"
    234                         style="StoneButton"
     234                        style="StoneButtonFancy"
    235235                        size="4 100%-36 50%-2 100%-4"
    236236                    >
     
    244244
    245245                        <object type="button"
    246                                 style="StoneButton"
     246                                style="StoneButtonFancy"
    247247                                size="50%+2 100%-36 100%-4 100%-4"
    248248                        >
  • ps/trunk/binaries/data/mods/public/gui/session/session.xml

    r10072 r10075  
    251251            <object type="button"
    252252                name="settingsButton"
    253                 style="StoneButton"
     253                style="StoneButtonFancy"
    254254                size="0 0 100% 32"
    255255                tooltip_style="sessionToolTip"
     
    262262                <object type="button"
    263263                    name="chatButton"
    264                     style="StoneButton"
     264                    style="StoneButtonFancy"
    265265                    size="0 32 100% 64"
    266266                    tooltip_style="sessionToolTip"
     
    272272                <!-- Pause Button -->
    273273                <object type="button"
    274                     style="StoneButton"
    275274                    name="pauseButton"
     275                    style="StoneButtonFancy"
    276276                    size="0 64 100% 96"
    277277                    tooltip_style="sessionToolTip"
     
    284284                <object type="button"
    285285                    name="menuExitButton"
    286                     style="StoneButton"
     286                    style="StoneButtonFancy"
    287287                    size="0 96 100% 128"
    288288                    tooltip_style="sessionToolTip"
Note: See TracChangeset for help on using the changeset viewer.