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


Ignore:
Timestamp:
08/27/11 20:34:54 (13 years ago)
Author:
brian
Message:

Convert most dialogs over to new style

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

Legend:

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

    r10103 r10108  
    1515        <object style="StoneDialogTitleBar" type="text" size="50%-128 -16 50%+128 16">Civilizations</object>
    1616
    17         <object type="button" style="wheatExit" tooltip_style="snToolTip">
    18             <action on="Press"><![CDATA[
    19                 Engine.PopGuiPage();
    20             ]]></action>
    21         </object>
    22        
    2317        <!-- Civ selection -->
    2418        <object size="25 10 100% 30">
     
    5246            </object>
    5347           
    54             <object type="image" sprite="TranslucentPanel" size="0 40 33%-5 100%">
     48            <object type="image" style="TranslucentPanelThinBorder" size="0 40 33%-5 100%">
    5549                <object
    5650                    name="civBonuses"
  • ps/trunk/binaries/data/mods/public/gui/common/common_sprites.xml

    r10103 r10108  
    121121
    122122    <!-- TranslucentPanel -->
    123     <sprite name="TranslucentPanel">
     123    <sprite name="TranslucentPanelThinBorder">
    124124        <image  backcolor="0 0 0 85"
    125125            size="0 0 100% 100%"
  • ps/trunk/binaries/data/mods/public/gui/common/common_styles.xml

    r10103 r10108  
    9999    />
    100100
     101
     102
     103
    101104    <!--
    102105    ==========================================
     
    105108    -->
    106109
    107     <style  name="TranslucentPanel"
    108         sprite="TranslucentPanel"
    109         buffer_zone="10"
    110         font="serif-bold-stroke-14"
    111         textcolor="white"
    112         text_align="left"
    113         text_valign="top"
    114     />
     110
    115111
    116112    <!--
     
    119115    ==========================================
    120116    -->
     117       
     118        <style  name="TranslucentPanel"
     119        sprite="BackgroundTranslucent"
     120        buffer_zone="10"
     121        font="serif-bold-stroke-14"
     122        textcolor="white"
     123        text_align="left"
     124        text_valign="top"
     125    />
     126       
     127        <style  name="TranslucentPanelThinBorder"
     128        sprite="TranslucentPanelThinBorder"
     129        buffer_zone="10"
     130        font="serif-bold-stroke-14"
     131        textcolor="white"
     132        text_align="left"
     133        text_valign="top"
     134    />
    121135
    122136    <style  name="MainMenuPanel"
  • ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup.xml

    r10085 r10108  
    3232        <object style="StoneDialogTitleBar" type="text" size="50%-128 0%-16 50%+128 16">
    3333            Match Setup
    34         </object>
    35 
    36         <object type="button" style="StoneExit" tooltip_style="snToolTip" size="100%-16 0 100% 16">
    37             <action on="Press"><![CDATA[
    38                 cancelSetup();
    39                 Engine.PopGuiPage();
    40             ]]></action>
    4134        </object>
    4235
  • ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup_mp.js

    r7946 r10108  
    22var g_GameType; // "server" or "client"
    33
    4 function init()
     4function init(multiplayerGameType)
    55{
     6        switch (multiplayerGameType)
     7        {
     8                case "join":
     9                        getGUIObjectByName("pageJoin").hidden = false;
     10                        getGUIObjectByName("pageHost").hidden = true;
     11                        break;
     12                case "host":
     13                        getGUIObjectByName("pageJoin").hidden = true;
     14                        getGUIObjectByName("pageHost").hidden = false;
     15                        break;
     16                default:
     17                        error("Unrecognised multiplayer game type : " + multiplayerGameType);
     18                        break;
     19        }
    620}
    721
  • ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup_mp.xml

    r9013 r10108  
    1010    <object type="image" z="0" sprite="bkTranslucent"/>
    1111
    12     <object type="image" style="wheatWindow" size="50%-190 50%-120 50%+190 50%+120">
     12    <object type="image" style="StonePanelLight" size="50%-190 50%-120 50%+190 50%+120">
    1313
    1414        <action on="Tick">
     
    1616        </action>
    1717
    18         <object type="text" style="wheatWindowTitleBar">
     18        <object style="StoneDialogTitleBar" type="text" size="50%-128 0%-16 50%+128 16">
    1919            Multiplayer
    2020        </object>
    21    
    22         <object type="button" style="wheatExit" tooltip_style="snToolTip">
    23             <action on="Press"><![CDATA[
    24                 cancelSetup();
    25             ]]></action>
    26         </object>
    27 
    28         <object name="pageSelectMode">
    29 
    30             <object type="text" size="0 50%-60 100% 50%">
    31                 Please select whether you want to join a game or host your own game.
     21               
     22                <object name="pageJoin" size="0 32 100% 100%" hidden="true">
     23       
     24            <object type="text" style="CenteredLabelText" size="0 0 400 30">
     25                Joining an existing game.
    3226            </object>
    3327
    34             <object type="text" size="0 50%+22 200 50%+50" style="wheatTextHeadBlack">
    35                 Game Mode:
     28            <object type="text" size="0 40 200 70" style="RightLabelText">
     29                Player name:
    3630            </object>
    3731
    38             <object type="button" style="wheatButton" size="130 50%+20 230 50%+50">
    39                 Join Game
    40                 <action on="Press"><![CDATA[
    41                     switchSetupPage("pageSelectMode", "pageJoin");
     32            <object name="joinPlayerName" type="input" size="210 40 100%-32 64" style="StoneInput">
     33                <action on="Load"><![CDATA[
     34                    this.caption = Engine.GetDefaultPlayerName();
    4235                ]]></action>
    4336            </object>
    4437
    45             <object type="button" style="wheatButton" size="250 50%+20 350 50%+50">
    46                 Host Game
     38            <object type="text" size="0 80 200 110" style="RightLabelText">
     39                Server Hostname or IP:
     40            </object>
     41
     42            <object name="joinIP" type="input" size="210 80 100%-32 104" style="StoneInput">
     43                127.0.0.1
     44            </object>3 100%-33 103 100%-3
     45
     46            <object type="button" size="50%+16 100%-64 50%+144 100%-32" style="StoneButton">
     47                Continue
    4748                <action on="Press"><![CDATA[
    48                     switchSetupPage("pageSelectMode", "pageHost");
     49                    if (startJoin(
     50                        getGUIObjectByName("joinPlayerName").caption,
     51                        getGUIObjectByName("joinIP").caption))
     52                    {
     53                        switchSetupPage("pageJoin", "pageConnecting");
     54                    }
    4955                ]]></action>
    5056            </object>
    51 
    5257        </object>
    5358
    54         <object name="pageHost" hidden="true">
     59        <object name="pageHost" size="0 32 100% 100%" hidden="true">
    5560
    56             <object type="text" size="0 0 400 30">
    57                 Setting up your server.
     61            <object type="text" style="CenteredLabelText" size="0 0 400 30">
     62                Set up your server to host.
    5863            </object>
    5964
    60             <object type="text" size="0 40 200 70" style="wheatTextHeadBlack">
     65            <object type="text" size="0 40 200 70" style="RightLabelText">
    6166                Player name:
    6267            </object>
    6368
    64             <object name="hostPlayerName" type="input" size="220 40 370 60" style="wheatInput">
     69            <object name="hostPlayerName" type="input" size="210 40 100%-32 64" style="StoneInput">
    6570                <action on="Load"><![CDATA[
    6671                    this.caption = Engine.GetDefaultPlayerName();
     
    6974
    7075            <object hidden="true"> <!-- TODO: restore this when the server name is actually used -->
    71             <object type="text" size="0 80 200 110" style="wheatTextHeadBlack">
     76            <object type="text" size="0 80 200 110" style="RightLabelText">
    7277                Server name:
    7378            </object>
    7479
    75             <object name="hostServerName" type="input" size="220 80 370 100" style="wheatInput">
     80            <object name="hostServerName" type="input" size="210 80 100%-32 104" style="StoneInput">
    7681                <action on="Load"><![CDATA[
    7782                    this.caption = Engine.GetDefaultPlayerName() + "'s game";
     
    8085            </object>
    8186
    82             <object type="button" size="3 100%-33 103 100%-3" style="wheatButton">
     87            <object type="button" size="50%+16 100%-64 50%+144 100%-32" style="StoneButton">
    8388                Continue
    8489                <action on="Press"><![CDATA[
     
    9196                ]]></action>
    9297            </object>
    93 
    94             <object type="button" style="wheatButton" size="50%-50 100%-33 50%+50 100%-3">
    95                 Back
    96                 <action on="Press"><![CDATA[
    97                     switchSetupPage("pageHost", "pageSelectMode");
    98                 ]]></action>
    99             </object>
    100 
    10198        </object>
    10299
    103         <object type="button" style="wheatButton" size="100%-103 100%-33 100%-3 100%-3">
     100                <object type="button" style="StoneButton" size="50%-144 100%-64 50%-16 100%-32">
    104101            Cancel
    105102            <action on="Press"><![CDATA[cancelSetup();]]></action>
    106103        </object>
    107104
    108         <object name="pageJoin" hidden="true">
    109        
    110             <object type="text" size="0 0 400 30">
    111                 Joining an existing game.
    112             </object>
    113 
    114             <object type="text" size="0 40 200 70" style="wheatTextHeadBlack">
    115                 Player name:
    116             </object>
    117 
    118             <object name="joinPlayerName" type="input" size="220 40 370 60" style="wheatInput">
    119                 <action on="Load"><![CDATA[
    120                     this.caption = Engine.GetDefaultPlayerName();
    121                 ]]></action>
    122             </object>
    123 
    124             <object type="text" size="0 80 200 110" style="wheatTextHeadBlack">
    125                 Server Hostname or IP:
    126             </object>
    127 
    128             <object name="joinIP" type="input" size="220 80 370 100" style="wheatInput">
    129                 127.0.0.1
    130             </object>
    131 
    132             <object type="button" size="3 100%-33 103 100%-3" style="wheatButton">
    133                 Continue
    134                 <action on="Press"><![CDATA[
    135                     if (startJoin(
    136                         getGUIObjectByName("joinPlayerName").caption,
    137                         getGUIObjectByName("joinIP").caption))
    138                     {
    139                         switchSetupPage("pageJoin", "pageConnecting");
    140                     }
    141                 ]]></action>
    142             </object>
    143 
    144             <object type="button" size="50%-50 100%-33 50%+50 100%-3" style="wheatButton">
    145                 Back
    146                 <action on="Press"><![CDATA[
    147                     switchSetupPage("pageJoin", "pageSelectMode");
    148                 ]]></action>
    149             </object>
    150         </object>
    151 
    152105        <object name="pageConnecting" hidden="true">
    153             <object name="connectionStatus" type="text" text_align="center" size="0 100 100% 120">
     106            <object name="connectionStatus" type="text" style="CenteredLabelText" size="0 100 100% 120">
    154107                [Connection status]
    155108            </object>
  • ps/trunk/binaries/data/mods/public/gui/loading/loading.xml

    r10085 r10108  
    1212
    1313    <!-- LOADING SCREEN BACKGROUND -->
    14     <object type="image" sprite="StonePanelLight"/>
     14    <object type="image" style="StonePanelLight"/>
    1515   
    1616    <object size="50%-400 30 50%+400 150">
  • ps/trunk/binaries/data/mods/public/gui/manual/manual.xml

    r9049 r10108  
    66
    77    <!-- Add a translucent black background to fade out the menu page -->
    8     <object type="image" z="0" sprite="bkTranslucent"/>
     8    <object type="image" z="0" style="TranslucentPanel"/>
    99
    10     <object type="image" style="wheatWindow" size="150 100 100%-150 100%-100">
     10    <object type="image" style="StonePanelLight" size="150 100 100%-150 100%-100">
    1111
    12         <object type="button" style="wheatExit" tooltip_style="snToolTip">
    13             <action on="Press"><![CDATA[
    14                 Engine.PopGuiPage();
    15             ]]></action>
    16         </object>
    17 
    18         <object type="image" sprite="wheatIndentFillVeryLight" size="0 0 100% 100%-45">
    19             <object name="mainText" type="text" style="textPanel"/>
    20         </object>
    21        
    22         <object type="button" style="wheatButton" size="100%-275 100%-33 100%-113 100%-3">
     12                <object type="image" style="TranslucentPanelThinBorder" size="16 16 100%-16 100%-48">
     13                    <object type="image" style="TranslucentPanel" size="16 4 100%-4 100%-4">
     14                            <object name="mainText" type="text" style="textPanel"/>
     15                    </object>
     16                </object>   
     17        <object type="button" style="StoneButton" size="100%-320 100%-48 100%-160 100%-16">
    2318            Online Manual
    2419            <action on="Press"><![CDATA[
     
    2823                ]]></action>
    2924        </object>
    30         <object type="button" style="wheatButton" tooltip_style="snToolTip" size="100%-103 100%-33 100%-3 100%-3">
     25        <object type="button" style="StoneButton" tooltip_style="snToolTip" size="100%-144 100%-48 100%-16 100%-16">
    3126            Close
    3227            <action on="Press"><![CDATA[Engine.PopGuiPage();]]></action>
  • ps/trunk/binaries/data/mods/public/gui/manual/styles.xml

    r7714 r10108  
    55    <style name="textPanel"
    66        buffer_zone="8"
    7         font="serif-13"
     7        font="serif-bold-16"
    88        scrollbar="true"
    99        scrollbar_style="wheatScrollBar"
    10         textcolor="black"
    11         textcolor_selected="white"
     10        textcolor="white"
     11        textcolor_selected="black"
    1212        text_align="left"
    1313        text_valign="center"
  • ps/trunk/binaries/data/mods/public/gui/msgbox/msgbox.xml

    r7653 r10108  
    7272        {
    7373        case 1:
    74             mbButton1Obj.size = "30% 100%-80 70% 100%-50";
     74            mbButton1Obj.size = "50%-64 100%-64 50%+64 100%-32";
    7575            break;
    7676        case 2:
    77             mbButton1Obj.size = "10% 100%-80 45% 100%-50";
    78             mbButton2Obj.size = "55% 100%-80 90% 100%-50";
     77            mbButton1Obj.size = "50%-144 100%-64 50%-16 100%-32";
     78            mbButton2Obj.size = "50%+16 100%-64 50%+144 100%-32";
    7979            break;
    8080        case 3:
     
    8888    <object>
    8989        <object name="mbMain"
    90             style="wheatWindow"
     90            style="StonePanelLight"
    9191            type="image"
    9292        >
    9393
    9494            <object name="mbTitleBar"
    95                 style="wheatWindowTitleBar"
     95                style="StoneDialogTitleBar"
    9696                type="text"
     97                                size="50%-128 0%-16 50%+128 16"
    9798            />
    9899
    99100            <object name="mbText"
    100101                type="text"
    101                 font="serif-16"
     102                style="CenteredLabelText"
    102103                size="30 30 100%-30 100%-100"
    103104            />
    104105                       
    105106            <object name="mbButton1"
    106                 style="wheatButtonFancy"
     107                style="StoneButton"
    107108                type="button"
    108109                hidden="true"
     
    110111            />
    111112            <object name="mbButton2"
    112                 style="wheatButtonFancy"
     113                style="StoneButton"
    113114                type="button"
    114115                hidden="true"
     
    116117            />
    117118            <object name="mbButton3"
    118                 style="wheatButtonFancy"
     119                style="StoneButton"
    119120                type="button"
    120121                hidden="true"
  • ps/trunk/binaries/data/mods/public/gui/page_gamesetup_mp.xml

    r7653 r10108  
    44    <include>common/styles.xml</include>
    55    <include>common/sprite1.xml</include>
     6   
     7<include>common/common_sprites.xml</include>
     8<include>common/common_styles.xml</include>
     9   
    610    <include>gamesetup/setup.xml</include>
    711    <include>gamesetup/sprites.xml</include>
  • ps/trunk/binaries/data/mods/public/gui/page_manual.xml

    r7714 r10108  
    44    <include>common/styles.xml</include>
    55    <include>common/sprite1.xml</include>
     6   
     7<include>common/common_sprites.xml</include>
     8<include>common/common_styles.xml</include>
     9
    610    <include>manual/styles.xml</include>
    711    <include>manual/manual.xml</include>
  • ps/trunk/binaries/data/mods/public/gui/page_msgbox.xml

    r7653 r10108  
    44    <include>common/styles.xml</include>
    55    <include>common/sprite1.xml</include>
     6   
     7<include>common/common_sprites.xml</include>
     8<include>common/common_styles.xml</include>
     9   
    610    <include>msgbox/msgbox.xml</include>
    711</page>
  • ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.js

    r10107 r10108  
    11var userReportEnabledText; // contains the original version with "$status" placeholder
    2 var currentSubmenu; // contains placeholdersubmenu
     2var currentSubmenu; // contains placeholder submenu
    33
    44function init()
  • ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml

    r10107 r10108  
    206206                                    Single Player
    207207                                    <action on="Press"><![CDATA[
    208                                             updateSubmenu("submenuSinglePlayer", (this.parent.size.top+this.size.top), (this.size.bottom-this.size.top), 3);
     208                                            updateSubmenu("submenuSinglePlayer", (this.parent.size.top+this.size.top), (this.size.bottom-this.size.top), 2);
    209209                                    ]]></action>
    210210                                </object>
     
    260260                                        tooltip="Exit Game"
    261261                                >
    262                                         Quit
     262                                        Exit
    263263                                        <action on="Press"><![CDATA[
    264264                                                var btCaptions = ["Yes", "No"];
    265265                                                var btCode = [exit, null];
    266                                                 messageBox (400, 200, "Are you sure you want to quit [icon=iconProduct] A.D.?", "Confirmation", 0, btCaptions, btCode);
     266                                                messageBox (400, 200, "Are you sure you want to quit 0 A.D.?", "Confirmation", 0, btCaptions, btCode);
    267267                                        ]]></action>
    268268                                </object>
     
    270270
    271271            <!-- PRE-RELEASE INFO -->
    272             <object size="8 100%-340 100%-8 100%-100" 
     272            <object size="8 100%-340 100%-8 100%-100"
    273273                type="image"
    274                 style="TranslucentPanel"
     274                style="TranslucentPanelThinBorder"
    275275            >
    276276
     
    279279                    style="fancyTextHeadWhite"
    280280                    type="text"
    281                     sprite="bkTranslucent"
    282281                    textcolor="white"
    283282                    size="8 8 100%-8 100%-36"
     
    366365        -->
    367366               
    368                 <object
    369                         name="submenuScreen"
     367                <object name="submenuScreen"
    370368            type="image"
    371369                        hidden="true"
     
    377375                       
    378376                        <!-- submenu -->
    379                         <object
    380                                 name="submenu"
     377                        <object name="submenu"
    381378                                type="image"
    382379                                style="MainMenuPanel"
     
    385382                                <!-- submenuSinglePlayer -->
    386383                                <object name="submenuSinglePlayer"
    387                                               type="image"
    388                                               size="4 4 100%-4 100%-4"
    389                                               tooltip_style="pgToolTip"
    390                                               tooltip="The 0 A.D. Game Manual"
    391                                               hidden="true"
     384                                        type="image"
     385                                        size="4 4 100%-4 100%-4"
     386                                        tooltip_style="pgToolTip"
     387                                        tooltip="The 0 A.D. Game Manual"
     388                                        hidden="true"
    392389                                >
    393390                                        <object name="subMenuSinglePlayerButton"
    394                                                       type="button"
    395                                                       style="StoneButtonFancy"
    396                                                       size="0 0 100% 32"
    397                                                       tooltip_style="pgToolTip"
    398                                                       tooltip="Click here to start a new single player game. (A very basic computer opponent is available for testing purposes.)"
     391                                                type="button"
     392                                                style="StoneButtonFancy"
     393                                                size="0 0 100% 32"
     394                                                tooltip_style="pgToolTip"
     395                                                tooltip="Click here to start a new single player game. (A very basic computer opponent is available for testing purposes.)"
    399396                                        >
    400                                                 Single Player Matches
     397                                                Matches
    401398                                                <action on="Press"><![CDATA[
     399                                                        // Hide submenu
     400                                                        this.parent.parent.hidden = true;
    402401                                                        // Open Session Setup window.
    403402                                                        Engine.PushGuiPage("page_gamesetup.xml", { type: "offline" });
     
    406405
    407406                                        <object name="subMenuCampaignButton"
    408                                                       type="button"
    409                                                       style="StoneButtonFancy"
    410                                                       size="0 32 100% 64"
    411                                                       tooltip_style="pgToolTip"
    412                                                       tooltip="Want to play a campaign? Unfortunately you'll have to wait as they're not yet implemented."
    413                                                       enabled="false"
     407                                                type="button"
     408                                                style="StoneButtonFancy"
     409                                                size="0 32 100% 64"
     410                                                tooltip_style="pgToolTip"
     411                                                tooltip="Want to play a campaign? Unfortunately you'll have to wait as they're not yet implemented."
     412                                                enabled="false"
    414413                                        >
    415                                                 Historical Campaigns
     414                                                Campaigns
    416415                                                <action on="Press"><![CDATA[
    417                                                     openMainMenuSubWindow ("pgCampaigns");
     416                                                        // Hide submenu
     417                                                        this.parent.parent.hidden = true;
     418                                                        // Open Campaigns window.
     419                                                        // NOT IMPLEMENTED YET
    418420                                                ]]></action>
    419421                                        </object>
     
    428430                                              hidden="true"
    429431                                >
    430                                         <object name="subMenuMultiplayerJoinGameButton"
    431                                                       type="button"
    432                                                       style="StoneButtonFancy"
    433                                                       size="0 0 100% 32"
    434                                                       tooltip_style="pgToolTip"
    435                                                       tooltip="Tired of playing with yourself? Fight against one or more human players in a multiplayer game."
     432                                        <object name="subMenuMultiplayerJoinButton"
     433                                                type="button"
     434                                                style="StoneButtonFancy"
     435                                                size="0 0 100% 32"
     436                                                tooltip_style="pgToolTip"
     437                                                tooltip="Joining an existing multiplayer game."
    436438                                        >
    437                                                 Multiplayer
     439                                                Join Game
    438440                                                <action on="Press"><![CDATA[
    439                                                         // Open Multiplayer connection window.
    440                                                         Engine.PushGuiPage("page_gamesetup_mp.xml");
     441                                                        // Hide submenu
     442                                                        this.parent.parent.hidden = true;
     443                                                        // Open Multiplayer connection window with join option.
     444                                                        Engine.PushGuiPage("page_gamesetup_mp.xml", "join");
    441445                                                ]]></action>
    442446                                        </object>
     447                                       
     448                                        <object name="subMenuMultiplayerHostButton"
     449                                                type="button"
     450                                                style="StoneButtonFancy"
     451                                                size="0 32 100% 64"
     452                                                tooltip_style="pgToolTip"
     453                                                tooltip="Host a multiplayer game."
     454                                        >
     455                                                Host Game
     456                                                <action on="Press"><![CDATA[
     457                                                        // Hide submenu
     458                                                        this.parent.parent.hidden = true;
     459                                                        // Open Multiplayer connection window with host option.
     460                                                        Engine.PushGuiPage("page_gamesetup_mp.xml", "host");
     461                                                ]]></action>
     462                                        </object>
     463
    443464                                </object>
    444465
    445466                                <!-- submenuToolsAndOptions -->
    446467                                <object name="submenuToolsAndOptions"
    447                                               type="image"
    448                                               size="4 4 100%-4 100%-4"
    449                                               tooltip_style="pgToolTip"
    450                                               tooltip="The 0 A.D. Game Manual"
     468                                        type="image"
     469                                        size="4 4 100%-4 100%-4"
     470                                        tooltip_style="pgToolTip"
     471                                        tooltip="The 0 A.D. Game Manual"
    451472                                              hidden="true"
    452473                                >
     
    461482                                                Options
    462483                                                <action on="Press"><![CDATA[
     484                                                        // Hide submenu
     485                                                        this.parent.parent.hidden = true;
    463486                                                        // Open Options window.
    464                                                         openMainMenuSubWindow ("pgOptions");
     487                                                        Engine.PushGuiPage("page_options.xml");
    465488                                                ]]></action>
    466489                                        </object>
     
    475498                                                Scenario Editor
    476499                                                <action on="Press"><![CDATA[
     500                                                        // Hide submenu
     501                                                        this.parent.parent.hidden = true;
     502                                                        // Start Atlas
    477503                                                        if (Engine.AtlasIsAvailable())
    478504                                                                Engine.RestartInAtlas();
  • ps/trunk/binaries/data/mods/public/gui/session/session.xml

    r10103 r10108  
    195195        <!-- Chat window -->
    196196        <object name="chatDialogPanel" size="50%-200 50%-46 50%+200 50%+46" type="image" hidden="true" sprite="genericPanel">
    197             <object name="chatInput" size="16 12 100%-16 36" type="input" style="chatInput" max_length="80">
     197            <object name="chatInput" size="16 12 100%-16 36" type="input" style="StoneInput" max_length="80">
    198198                <action on="Press">submitChatInput();</action>
    199199            </object>
     
    299299        <!-- ================================  ================================ -->
    300300        <object name="settingsDialogPanel"
    301             style="TranslucentPanel"
     301            style="TranslucentPanelThinBorder"
    302302            type="image"
    303303            size="80%-180 50%-200 50%+180 50%+50"
Note: See TracChangeset for help on using the changeset viewer.