- Timestamp:
- 08/23/11 01:42:16 (13 years ago)
- Location:
- ps/trunk/binaries/data/mods/public
- Files:
-
- 15 added
- 2 deleted
- 4 edited
-
art/textures/ui/global/border/border-bottom.png (added)
-
art/textures/ui/global/border/border-corner.png (added)
-
art/textures/ui/global/border/border-left.png (added)
-
art/textures/ui/global/border/border-right.png (added)
-
art/textures/ui/global/border/border-top.png (added)
-
art/textures/ui/global/tile/stone_background.png (added)
-
art/textures/ui/global/titlebar/textures.xml (added)
-
art/textures/ui/global/titlebar/titlebar_left.png (added)
-
art/textures/ui/global/titlebar/titlebar_middle.png (added)
-
art/textures/ui/global/titlebar/titlebar_right.png (added)
-
art/textures/ui/pregame/shading (added)
-
art/textures/ui/pregame/shading/menu_panel_background_shading.png (added)
-
art/textures/ui/pregame/shell/logo/0ad_logo.png (added)
-
gui/common/common_sprites.xml (added)
-
gui/common/common_styles.xml (added)
-
gui/common/menu_sprites.xml (deleted)
-
gui/common/menu_styles.xml (deleted)
-
gui/gamesetup/gamesetup.xml (modified) (15 diffs)
-
gui/page_gamesetup.xml (modified) (1 diff)
-
gui/page_pregame.xml (modified) (1 diff)
-
gui/pregame/mainmenu.xml (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup.xml
r9104 r10067 10 10 11 11 <!-- Add a translucent black background to fade out the menu page --> 12 <object type="image" z="0" sprite=" bkTranslucent"/>13 14 <object type="image" style=" wheatWindow" size="50%-190 50%-80 50%+190 50%+80" name="loadingWindow">15 16 <object type="text" style=" wheatWindowTitleBar">12 <object type="image" z="0" sprite="BackgroundTranslucent"/> 13 14 <object type="image" style="StoneDialog" size="50%-190 50%-80 50%+190 50%+80" name="loadingWindow"> 15 16 <object type="text" style="StoneDialogTitleBar" size="50%-128 0%-16 50%+128 16"> 17 17 Loading 18 18 </object> … … 24 24 </object> 25 25 26 <object type="image" style=" wheatWindow" size="50%-400 50%-300 50%+400 50%+300" hidden="true" name="setupWindow">26 <object type="image" style="StoneDialog" size="50%-400 50%-300 50%+400 50%+300" hidden="true" name="setupWindow"> 27 27 28 28 <action on="Tick"> … … 30 30 </action> 31 31 32 <object style="wheatWindowTitleBar" type="text">Match Setup</object> 33 34 <object type="button" style="wheatExit" tooltip_style="snToolTip"> 32 <object style="StoneDialogTitleBar" type="text" size="50%-128 0%-16 50%+128 16"> 33 Match Setup 34 </object> 35 36 <object type="button" style="StoneExit" tooltip_style="snToolTip" size="100%-16 0 100% 16"> 35 37 <action on="Press"><![CDATA[ 36 38 cancelSetup(); … … 40 42 41 43 <!-- Map selection --> 42 43 <object size="0 0 250 100%"> 44 <object name="mapTypeHeading" type="text" text_valign="center" size="0 0 100% 30" font="serif-bold-16">Match Type:</object> 44 <object size="16 64 250 100%-16"> 45 <object name="mapTypeHeading" type="text" style="LeftLabelText" size="0 0 100% 30">Match Type:</object> 45 46 <object name="mapTypeSelection" 46 47 type="dropdown" 47 style=" wheatDropDown"48 style="StoneDropDown" 48 49 size="100 0 100% 30" 49 50 tooltip_style="onscreenToolTip" … … 52 53 </object> 53 54 54 <object name="mapFilterHeading" type="text" text_valign="center" size="0 34 100% 64" font="serif-bold-14">Map Filter:</object>55 <object name="mapFilterHeading" type="text" style="LeftLabelText" size="0 34 100% 64">Map Filter:</object> 55 56 <object name="mapFilterSelection" 56 57 type="dropdown" 57 style=" wheatDropDown"58 style="StoneDropDown" 58 59 size="100 34 100% 64" 59 60 tooltip_style="onscreenToolTip" … … 63 64 64 65 <object name="mapSelection" 65 style=" wheatList"66 style="StoneList" 66 67 type="list" 67 68 size="0 70 100% 100%-200" … … 71 72 </object> 72 73 73 <object type="image" s tyle="indentedPanel" size="0 100%-190 100% 100%">74 <object name="mapInfoName" type="text" s ize="0 0 100% 30" font="serif-bold-18"/>75 <object name="mapInfoDescription" type="text" s ize="0 24 100% 100%" font="serif-13"/>74 <object type="image" sprite="BackgroundIndentFillDark" size="0 100%-190 100% 100%"> 75 <object name="mapInfoName" type="text" style="LeftLabelText" size="0 0 100% 30"/> 76 <object name="mapInfoDescription" type="text" style="SmallLeftLabelText" size="0 24 100% 100%"/> 76 77 </object> 77 78 … … 79 80 80 81 <!-- Player assignments --> 81 82 82 <object name="numPlayersBox" size="260 0 100% 30" hidden="true"> 83 83 <object name="numPlayersSelectionHeading" type="text" text_valign="center" font="serif-bold-16">Number of Players</object> 84 84 <object name="numPlayersSelection" 85 85 type="dropdown" 86 style=" wheatDropDown"86 style="StoneDropDown" 87 87 size="150 0 200 30" 88 88 tooltip_style="onscreenToolTip" … … 92 92 </object> 93 93 94 <object size="260 36 100% 100%-260" type="image" sprite="wheatIndentFillLight">94 <object size="260 64 100%-16 100%-260" type="image" sprite="BackgroundIndentFillDark"> 95 95 <object size="0 6 100% 30"> 96 96 <object name="playerNameHeading" type="text" text_align="center" size="100 0 250 100%" font="serif-bold-14">Player Name</object> … … 115 115 <object name="playerColour[n]" type="image" size="0 0 100% 100%"/> 116 116 <object name="playerName[n]" type="text" text_align="right" text_valign="center" size="0 0 100 100%"/> 117 <object name="playerAssignment[n]" type="dropdown" style=" wheatDropDown" size="100 2 250 100%-2" tooltip_style="onscreenToolTip" tooltip="Select player"/>118 <object name="playerConfig[n]" type="button" style=" wheatButton" size="251 6 264 24"117 <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" 119 119 tooltip_style="onscreenToolTip" 120 120 tooltip="Configure AI settings" 121 121 >c</object> 122 <object name="playerCiv[n]" type="dropdown" style=" wheatDropDown" size="265 2 395 100%-2" tooltip_style="onscreenToolTip" tooltip="Select player's civilization"/>122 <object name="playerCiv[n]" type="dropdown" style="StoneDropDown" size="265 2 395 100%-2" tooltip_style="onscreenToolTip" tooltip="Select player's civilization"/> 123 123 <object name="playerCivText[n]" type="text" text_align="center" text_valign="center" size="265 0 395 100%"/> 124 <object name="playerTeam[n]" type="dropdown" style=" wheatDropDown" size="415 2 485 100%-2" tooltip_style="onscreenToolTip" tooltip="Select player's team"/>124 <object name="playerTeam[n]" type="dropdown" style="StoneDropDown" size="415 2 485 100%-2" tooltip_style="onscreenToolTip" tooltip="Select player's team"/> 125 125 <object name="playerTeamText[n]" type="text" text_align="center" text_valign="center" size="415 0 485 100%"/> 126 126 </object> … … 131 131 132 132 <!-- Options --> 133 134 133 <object name="gameOptionsBox" size="260 100%-260 100% 100%-190"> 135 134 <object size="2 2 100% 50%-2"> <!-- Top row --> 136 <object name="mapSizeText" size="0 0 175 100%" type="text" >Map size:</object>137 <object name="mapSize" size="75 -2 225 100%-6" type="dropdown" style=" wheatDropDown" hidden="true" tooltip_style="onscreenToolTip" tooltip="Select map size (larger may reduce performance)"/>138 <object name="victoryConditionText" size="245 0 500 100%" type="text" >Victory condition:</object>139 <object name="victoryCondition" size="375 -2 500 100%-6" type="dropdown" style=" wheatDropDown" hidden="true" tooltip_style="onscreenToolTip" tooltip="Select victory condition"/>135 <object name="mapSizeText" size="0 0 175 100%" type="text" style="LeftLabelText">Map size:</object> 136 <object name="mapSize" size="75 -2 225 100%-6" type="dropdown" style="StoneDropDown" hidden="true" tooltip_style="onscreenToolTip" tooltip="Select map size (larger may reduce performance)"/> 137 <object name="victoryConditionText" size="245 0 500 100%" type="text" style="LeftLabelText">Victory condition:</object> 138 <object name="victoryCondition" size="375 -2 500 100%-6" type="dropdown" style="StoneDropDown" hidden="true" tooltip_style="onscreenToolTip" tooltip="Select victory condition"/> 140 139 </object> 141 140 <object size="2 50%+2 100% 100%"> <!-- Bottom row --> 142 <object name="revealMapText" size="0 0 120 100%" type="text" >Reveal map:</object>143 <object name="revealMap" size="120 2 140 100%" type="checkbox" style=" wheatCrossBox" hidden="true" tooltip_style="onscreenToolTip" tooltip="Toggle reveal map"/>144 <object name="lockTeamsText" size="245 0 400 100%" type="text" >Teams locked:</object>145 <object name="lockTeams" size="400 2 420 100%" type="checkbox" style=" wheatCrossBox" hidden="true" tooltip_style="onscreenToolTip" tooltip="Toggle locked teams"/>141 <object name="revealMapText" size="0 0 120 100%" type="text" style="LeftLabelText">Reveal map:</object> 142 <object name="revealMap" size="120 2 140 100%" type="checkbox" style="StoneCrossBox" hidden="true" tooltip_style="onscreenToolTip" tooltip="Toggle reveal map"/> 143 <object name="lockTeamsText" size="245 0 400 100%" type="text" style="LeftLabelText">Teams locked:</object> 144 <object name="lockTeams" size="400 2 420 100%" type="checkbox" style="StoneCrossBox" hidden="true" tooltip_style="onscreenToolTip" tooltip="Toggle locked teams"/> 146 145 </object> 147 146 </object> … … 149 148 150 149 <!-- Chat window --> 151 152 <object name="chatPanel" size="260 100%-190 100% 100%-45" type="image" sprite="wheatIndentFillLight"> 150 <object name="chatPanel" size="260 100%-190 100%-16 100%-45" type="image" sprite="BackgroundIndentFillDark"> 153 151 154 152 <object name="chatText" size="3 1 100%-1 100%-25" type="text" style="chatPanel"/> 155 153 156 <object name="chatInput" size="2 100%-23 100%-66 100%-3" type="input" style=" wheatInput">154 <object name="chatInput" size="2 100%-23 100%-66 100%-3" type="input" style="StoneInput"> 157 155 <action on="Press">submitChatInput();</action> 158 156 </object> 159 157 160 <object size="100%-65 100%-25 100%-1 100%" type="button" style=" wheatButton">158 <object size="100%-65 100%-25 100%-1 100%" type="button" style="StoneButton"> 161 159 Send 162 160 <action on="Press">submitChatInput();</action> … … 165 163 </object> 166 164 165 167 166 <!-- Other things --> 168 169 167 <object name="onscreenToolTip" 170 168 type="text" 171 169 font="serif-14" 172 170 textcolor="white" 173 sprite=" bkTranslucent"171 sprite="BackgroundTranslucent" 174 172 hidden="true" 175 size="260 100%- 40 100%-290 100%"173 size="260 100%-64 100%-310 100%-16" 176 174 >[Tooltip text]</object> 177 175 … … 179 177 name="cancelGame" 180 178 type="button" 181 style="wheatButton" 182 font="serif-16" 183 size="100%-140 100%-40 100%+3 100%+3" 179 style="StoneButton" 180 size="100%-300 100%-48 100%-160 100%-16" 184 181 tooltip_style="onscreenToolTip" 185 182 tooltip="Click this button to return to the main menu." … … 194 191 name="startGame" 195 192 type="button" 196 style="wheatButton" 197 font="serif-16" 198 size="100%-280 100%-40 100%-143 100%+3" 193 style="StoneButton" 194 size="100%-156 100%-48 100%-16 100%-16" 199 195 tooltip_style="onscreenToolTip" 200 196 tooltip="Click this button to start a new game with the current settings." -
ps/trunk/binaries/data/mods/public/gui/page_gamesetup.xml
r7653 r10067 4 4 <include>common/styles.xml</include> 5 5 <include>common/sprite1.xml</include> 6 7 <include>common/common_sprites.xml</include> 8 <include>common/common_styles.xml</include> 9 6 10 <include>gamesetup/setup.xml</include> 7 11 <include>gamesetup/sprites.xml</include> -
ps/trunk/binaries/data/mods/public/gui/page_pregame.xml
r10061 r10067 6 6 <include>common/init.xml</include> 7 7 8 <include>common/ menu_sprites.xml</include>9 <include>common/ menu_styles.xml</include>8 <include>common/common_sprites.xml</include> 9 <include>common/common_styles.xml</include> 10 10 11 11 <include>pregame/sprites.xml</include> -
ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml
r10062 r10067 55 55 <object name="cornerExitButton" 56 56 type="button" 57 style=" wheatExit"57 style="StoneExit" 58 58 size="100%-16 0 100% 16" 59 59 tooltip="" … … 73 73 <object 74 74 type="image" 75 style=" stoneWindow"75 style="StonePanel" 76 76 size="50 0 322 100%" 77 77 > 78 <object type="image" 79 ghost="true" 80 size="0 0 100% 100%" 81 sprite="MainMenuPanelShading" 82 /> 83 78 84 <object name="productLogo" 79 85 type="image" … … 88 94 <object name="menuLearnToPlayButton" 89 95 type="button" 90 style=" stoneButton"96 style="StoneButton" 91 97 size="4 4 100%-4 36" 92 98 tooltip_style="pgToolTip" … … 100 106 101 107 <object name="menuSinglePlayerButton" 102 style=" stoneButton"108 style="StoneButton" 103 109 type="button" 104 110 size="4 36 100%-4 68" … … 114 120 115 121 <object name="menuMultiPlayerButton" 116 style=" stoneButton"122 style="StoneButton" 117 123 type="button" 118 124 size="4 68 100%-4 100" … … 128 134 129 135 <object name="menuEditorButton" 130 style=" stoneButton"136 style="StoneButton" 131 137 type="button" 132 138 size="4 100 100%-4 132" … … 144 150 145 151 <object name="menuOptionsButton" 146 style=" stoneButton"152 style="StoneButton" 147 153 type="button" 148 154 size="4 132 100%-4 164" … … 161 167 <object name="menuExitButton" 162 168 type="button" 163 style=" stoneButton"169 style="StoneButton" 164 170 size="4 164 100%-4 196" 165 171 tooltip_style="pgToolTip" … … 175 181 176 182 <!-- <object name="menuCampaignsButton" 177 style=" stoneButton"183 style="StoneButton" 178 184 type="button" 179 185 size="4 36 100%-4 68" … … 189 195 --> 190 196 <!-- <object name="menuHistoryButton" 191 style=" stoneButton"197 style="StoneButton" 192 198 type="button" 193 199 size="4 36 100%-4 68" … … 226 232 <!-- CONTACT METHODS --> 227 233 <object type="button" 228 style=" stoneButton"234 style="StoneButton" 229 235 size="4 100%-36 50%-2 100%-4" 230 236 > … … 238 244 239 245 <object type="button" 240 style=" stoneButton"246 style="StoneButton" 241 247 size="50%+2 100%-36 100%-4 100%-4" 242 248 > … … 272 278 <!-- VERSION --> 273 279 <object name="versionNumber" 274 style=" menuCenteredText"280 style="CenteredLabelText" 275 281 type="text" 276 282 ghost="true"
Note:
See TracChangeset
for help on using the changeset viewer.
