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 10111 for ps


Ignore:
Timestamp:
08/27/11 21:23:32 (13 years ago)
Author:
brian
Message:

Updated panel style and made main menu "x" exit game without confirmation

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

Legend:

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

    r10108 r10111  
    8383       
    8484        <!-- Civ history display -->
    85         <object size="25 65% 100%-25 100%-50">
     85        <object size="25 65% 100%-25 100%-56">
    8686            <object type="image" sprite="bgInfoHeading" size="0 0 100% 35">
    8787                <object
     
    112112            type="button"
    113113            style="StoneButton"
    114             size="100%-150 100%-48 100%-24 100%-16"
     114            size="100%-148 100%-52 100%-20 100%-20"
    115115        >Close
    116116            <action on="Press"><![CDATA[
  • ps/trunk/binaries/data/mods/public/gui/common/common_sprites.xml

    r10108 r10111  
    308308            size="4 4 100%-4 100%-4"
    309309        />
    310         <!-- shading -->
     310               
     311                <!-- thin sides -->
     312        <image  texture="global/border/line_horiz.png"
     313            texture_size="0 0 64 4"
     314            size="20 16 100%-20 20"
     315        />
     316        <image  texture="global/border/line_vert.png"
     317            texture_size="0 0 4 64"
     318            size="100%-20 20 100%-16 100%-20"
     319        />
     320        <image  texture="global/border/line_horiz.png"
     321            texture_size="0 0 64 4"
     322            size="20 100%-20 100%-20 100%-16"
     323        />
     324        <image  texture="global/border/line_vert.png"
     325            texture_size="0 0 4 64"
     326            size="16 20 20 100%-20"
     327        />
     328               
     329        <!-- thin corners -->
     330        <image
     331            texture="global/border/line_corner_top_right.png"
     332            texture_size="0 0 4 4"
     333            size="100%-20 16 100%-16 20"
     334        />
     335        <image  texture="global/border/line_corner_bottom_right.png"
     336            texture_size="0 0 4 4"
     337            size="100%-20 100%-20 100%-16 100%-16"
     338        />
     339        <image  texture="global/border/line_corner_bottom_left.png"
     340            texture_size="0 0 4 4"
     341            size="16 100%-20 20 100%-16"
     342        />
     343        <image  texture="global/border/line_corner_top_left.png"
     344            texture_size="0 0 4 4"
     345            size="16 16 20 20"
     346        />
     347               
     348                <!-- shading -->
    311349        <image
    312350            texture="global/shading/gradient_wide.png"
  • ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup.xml

    r10108 r10111  
    3535
    3636        <!-- Map selection -->
    37         <object size="16 64 250 100%-16">
     37        <object size="20 64 250 100%-20">
    3838            <object name="mapTypeHeading" type="text" style="LeftLabelText" size="0 0 100% 30">Match Type:</object>
    3939            <object name="mapTypeSelection"
     
    8585        </object>
    8686
    87         <object size="260 64 100%-16 100%-260" type="image" sprite="BackgroundIndentFillDark">
     87        <object size="260 64 100%-20 100%-260" type="image" sprite="BackgroundIndentFillDark">
    8888            <object size="0 6 100% 30">
    8989                <object name="playerNameHeading" type="text" style="CenteredLabelText" size="100 0 250 100%">Player Name</object>
     
    141141       
    142142        <!-- Chat window -->
    143         <object name="chatPanel" size="260 100%-190 100%-16 100%-45" type="image" sprite="BackgroundIndentFillDark">
     143        <object name="chatPanel" size="260 100%-190 100%-20 100%-58" type="image" sprite="BackgroundIndentFillDark">
    144144   
    145145            <object name="chatText" size="3 1 100%-1 100%-25" type="text" style="chatPanel"/>
     
    171171            type="button"
    172172            style="StoneButton"
    173             size="100%-300 100%-48 100%-160 100%-16"
     173            size="100%-304 100%-52 100%-164 100%-20"
    174174            tooltip_style="onscreenToolTip"
    175175            tooltip="Click this button to return to the main menu."
     
    185185            type="button"
    186186            style="StoneButton"
    187             size="100%-156 100%-48 100%-16 100%-16"
     187            size="100%-160 100%-52 100%-20 100%-20"
    188188            tooltip_style="onscreenToolTip"
    189189            tooltip="Click this button to start a new game with the current settings."
  • ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml

    r10110 r10111  
    6161                >
    6262                        <action on="Press"><![CDATA[
    63                                 var btCaptions = ["Yes", "No"];
    64                                 var btCode = [exit, null];
    65                                 messageBox (400, 200, "Are you sure you want to quit [icon=iconProduct] A.D.?", "Confirmation", 0, btCaptions, btCode);
     63                                // Exit without confirmation
     64                                exit();
    6665                        ]]></action>
    6766        </object>
    68 
    6967
    7068        <!--
     
    148146            </object>
    149147        </object>
    150  
    151 
    152148             
    153149
     
    264260                                                var btCaptions = ["Yes", "No"];
    265261                                                var btCode = [exit, null];
    266                                                 messageBox (400, 200, "Are you sure you want to quit 0 A.D.?", "Confirmation", 0, btCaptions, btCode);
     262                                                messageBox(400, 200, "Are you sure you want to quit 0 A.D.?", "Confirmation", 0, btCaptions, btCode);
    267263                                        ]]></action>
    268264                                </object>
     
    355351                       
    356352                </object>
    357                
    358                
    359353               
    360354               
Note: See TracChangeset for help on using the changeset viewer.