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


Ignore:
Timestamp:
08/22/11 06:13:05 (13 years ago)
Author:
brian
Message:

Made menu panel use a more relative layout to work better with lower resolutions

File:
1 edited

Legend:

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

    r10042 r10057  
    7676        ==========================================
    7777        -->
    78        
    79    
    8078        <object
    8179            type="image"
    8280            sprite="bkTranslucent"
    83             size="60 0 310 100%"
     81            size="50 0 300 100%"
    8482                >
    8583                        <object name="pgProductLogo"
     
    8785                                type="button"
    8886                                ghost="true"
    89                                 size="20 40 240 140"
     87                                size="20 2% 240 2%+100"
    9088                                sprite="pgProductLogo"
    9189                        >
     
    9391                       
    9492                        <object
    95                                 size="0 170 100% 400"
     93                                size="0 2%+120 100% 2%+320"
    9694                                type="image"
    9795                                sprite="bkTranslucent"
    9896                        >
    99                            
    10097                              <object name="pgLearnToPlayBt"
    10198                                      type="button"
     
    110107                                        ]]></action>
    111108                               </object>
    112                            
    113109                           
    114110                               <object name="pgSinglePlayerBt"
     
    186182                                        ]]></action>
    187183                                </object>
    188                                
     184
    189185<!--                        <object name="pgCampaignsBt"
    190186                                       style="wheatButton"
     
    217213                        </object>
    218214                       
    219                         <!-- CONTACT METHODS -->
    220                         <object size="0 100%-340 100% 100%-300">
    221                                 <object type="button"
    222                                         style="wheatButton"
    223                                         size="4 0 50%-2 36"
    224                                 >
    225                                         Website
    226                                         <action on="Press"><![CDATA[
    227                                                 var url = "http://wildfiregames.com/0ad/";
    228                                                 Engine.OpenURL(url);
    229                                                 messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
    230                                         ]]></action>
    231                                 </object>
    232 
    233                                 <object type="button"
    234                                         style="wheatButton"
    235                                         size="50%+2 0 100%-4 36"
    236                                 >
    237                                         IRC
    238                                         <action on="Press"><![CDATA[
    239                                                 var url = "http://webchat.quakenet.org/?channels=0ad";
    240                                                 Engine.OpenURL(url);
    241                                                 messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
    242                                         ]]></action>
    243                                 </object>
    244                         </object>
    245                        
    246                         <!-- PRE-RELEASE WARNING -->
    247                         <object
    248                                 style="fancyTextHeadWhite"
    249                                 type="text"
    250                                 sprite="bkTranslucent"
    251                                 textcolor="255 255 0"
    252                                 size="0 100%-280 100% 100%-64"
    253 >[font="serif-bold-16"]Alpha version[/font]
    254 Warning: This is an early development version of the game and many features have not been added yet, but we hope this gives you a glimpse of the game’s vision.
    255 
    256 Watch for updates or get involved in the development: http://wildfiregames.com/0ad/
    257                         </object>
    258                        
     215                <object size="0 50%+30 100% 50%+240"
     216                type="image"
     217                sprite="bkTranslucent"
     218            >
     219                <!-- PRE-RELEASE WARNING -->
     220                        <object
     221                                style="fancyTextHeadWhite"
     222                                type="text"
     223                                sprite="bkTranslucent"
     224                                textcolor="255 255 0"
     225                                size="0 0 100% 100%-32"
     226                >
     227                    [font="serif-bold-16"]Alpha version[/font]
     228                    Warning: This is an early development version of the game and many features have not been added yet, but we hope this gives you a glimpse of the game’s vision.
     229
     230                    Watch for updates or get involved: wildfiregames.com/0ad
     231                        </object>
     232
     233
     234                <!-- CONTACT METHODS -->
     235                    <object type="button"
     236                        style="wheatButton"
     237                        size="4 100%-36 50%-2 100%-4"
     238                    >
     239                            Website
     240                            <action on="Press"><![CDATA[
     241                                    var url = "http://wildfiregames.com/0ad/";
     242                                        Engine.OpenURL(url);
     243                                        messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
     244                                ]]></action>
     245                </object>
     246
     247                        <object type="button"
     248                                style="wheatButton"
     249                                size="50%+2 100%-36 100%-4 100%-4"
     250                        >
     251                            IRC
     252                                <action on="Press"><![CDATA[
     253                                var url = "http://webchat.quakenet.org/?channels=0ad";
     254                                Engine.OpenURL(url);
     255                                messageBox(400, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
     256                                ]]></action>
     257                        </object>
     258            </object>
     259
    259260                        <!-- VERSION -->
    260261                        <object name="pgVersionNumber"
     
    262263                                type="text"
    263264                                ghost="true"
    264                                 size="2 100%-64 100%-2 100%-2"
     265                                size="2 100%-56 100%-2 100%"
    265266                        >
    266267                                <action on="Load"><![CDATA[
     
    269270                        </object>
    270271                </object>
    271        
     272
    272273<!--
    273274        <object name="pgCampaignsBt"
Note: See TracChangeset for help on using the changeset viewer.