- Timestamp:
- 08/28/11 05:04:32 (13 years ago)
- Location:
- ps/trunk/binaries/data/mods/public
- Files:
-
- 13 edited
-
art/textures/ui/global/button/button_stone_selected.png (modified) ( previous)
-
art/textures/ui/global/button/button_stone_selected_left_trim.png (modified) ( previous)
-
art/textures/ui/global/button/button_stone_selected_right_trim.png (modified) ( previous)
-
gui/civinfo/civinfo.xml (modified) (2 diffs)
-
gui/common/common_sprites.xml (modified) (7 diffs)
-
gui/gamesetup/gamesetup.xml (modified) (3 diffs)
-
gui/gamesetup/gamesetup_mp.xml (modified) (3 diffs)
-
gui/manual/manual.xml (modified) (2 diffs)
-
gui/msgbox/msgbox.xml (modified) (1 diff)
-
gui/pregame/mainmenu.js (modified) (3 diffs)
-
gui/pregame/mainmenu.xml (modified) (14 diffs)
-
gui/session/session.xml (modified) (11 diffs)
-
gui/summary/summary.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/binaries/data/mods/public/gui/civinfo/civinfo.xml
r10111 r10122 27 27 </object> 28 28 29 <object name="civSelection" type="dropdown" style="StoneDropDown" size="50%-96 10 50%+96 40">29 <object name="civSelection" type="dropdown" style="StoneDropDown" size="50%-96 10 50%+96 38"> 30 30 <action on="SelectionChange">selectCiv(this.list_data[this.selected]);</action> 31 31 </object> … … 112 112 type="button" 113 113 style="StoneButton" 114 size="100%-148 100%- 52100%-20 100%-20"114 size="100%-148 100%-48 100%-20 100%-20" 115 115 >Close 116 116 <action on="Press"><![CDATA[ -
ps/trunk/binaries/data/mods/public/gui/common/common_sprites.xml
r10119 r10122 146 146 <sprite name="SubmenuPanel"> 147 147 <image texture="global/tile/stone_background.png" 148 real_texture_placement=" 280 292 264"148 real_texture_placement="32 0 292 264" 149 149 texture_size="0 0 240 240" 150 150 /> … … 461 461 <sprite name="StoneButton"> 462 462 <image texture="global/button/button_stone_unselected.png" 463 real_texture_placement="0 0 256 32"463 real_texture_placement="0 0 256 28" 464 464 size="0 0 100% 100%" 465 465 /> … … 468 468 <sprite name="StoneButtonOver"> 469 469 <image texture="global/button/button_stone_selected.png" 470 real_texture_placement="0 0 256 32"470 real_texture_placement="0 0 256 28" 471 471 size="0 0 100% 100%" 472 472 /> … … 476 476 <effect add_color="60 42 42 0" /> 477 477 <image texture="global/button/button_stone_selected.png" 478 real_texture_placement="0 0 256 32"478 real_texture_placement="0 0 256 28" 479 479 size="0 0 100% 100%" 480 480 /> … … 483 483 <sprite name="StoneButtonFancyOver"> 484 484 <image texture="global/button/button_stone_selected.png" 485 real_texture_placement="0 0 256 32"485 real_texture_placement="0 0 256 28" 486 486 size="0 0 100% 100%" 487 487 /> 488 488 <image texture="global/button/button_stone_selected_left_trim.png" 489 real_texture_placement="0 0 32 32"490 size="0 0 32 32"489 real_texture_placement="0 0 32 28" 490 size="0 0 32 28" 491 491 /> 492 492 <image texture="global/button/button_stone_selected_right_trim.png" 493 real_texture_placement="0 0 32 32"494 size="100%-32 0 100% 32"493 real_texture_placement="0 0 32 28" 494 size="100%-32 0 100% 28" 495 495 /> 496 496 </sprite> … … 499 499 <effect add_color="60 42 42 0" /> 500 500 <image texture="global/button/button_stone_selected.png" 501 real_texture_placement="0 0 256 32"501 real_texture_placement="0 0 256 28" 502 502 size="0 0 100% 100%" 503 503 /> 504 504 <image texture="global/button/button_stone_selected_left_trim.png" 505 real_texture_placement="0 0 32 32"506 size="0 0 32 32"505 real_texture_placement="0 0 32 28" 506 size="0 0 32 28" 507 507 /> 508 508 <image texture="global/button/button_stone_selected_right_trim.png" 509 real_texture_placement="0 0 32 32"510 size="100%-32 0 100% 32"509 real_texture_placement="0 0 32 28" 510 size="100%-32 0 100% 28" 511 511 /> 512 512 </sprite> … … 515 515 <effect grayscale="" /> 516 516 <image texture="global/button/button_stone_unselected.png" 517 real_texture_placement="0 0 256 32"517 real_texture_placement="0 0 256 28" 518 518 size="0 0 100% 100%" 519 519 /> -
ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup.xml
r10111 r10122 36 36 <!-- Map selection --> 37 37 <object size="20 64 250 100%-20"> 38 <object name="mapTypeHeading" type="text" style="LeftLabelText" size="0 0 100% 30">Match Type:</object> 39 <object name="mapTypeSelection" 38 39 <object size="0 0 40% 100%"> 40 <object name="mapTypeHeading" type="text" style="RightLabelText" size="0 0 100% 28">Match Type:</object> 41 <object name="mapFilterHeading" type="text" style="RightLabelText" size="0 34 100% 60">Map Filter:</object> 42 </object> 43 44 <object name="mapTypeSelection" 40 45 type="dropdown" 41 46 style="StoneDropDown" 42 size="100 0 100% 30"47 size="100 0 100% 28" 43 48 tooltip_style="onscreenToolTip" 44 49 tooltip="Select a map type."> 45 50 <action on="SelectionChange">selectMapType(this.list_data[this.selected]);</action> 46 51 </object> 47 48 <object name="mapFilterHeading" type="text" style="LeftLabelText" size="0 34 100% 64">Map Filter:</object> 52 49 53 <object name="mapFilterSelection" 50 54 type="dropdown" 51 55 style="StoneDropDown" 52 size="100 34 100% 6 4"56 size="100 34 100% 60" 53 57 tooltip_style="onscreenToolTip" 54 58 tooltip="Select a map filter."> … … 171 175 type="button" 172 176 style="StoneButton" 173 size="100%-304 100%- 52100%-164 100%-20"177 size="100%-304 100%-48 100%-164 100%-20" 174 178 tooltip_style="onscreenToolTip" 175 179 tooltip="Click this button to return to the main menu." … … 185 189 type="button" 186 190 style="StoneButton" 187 size="100%-160 100%- 52100%-20 100%-20"191 size="100%-160 100%-48 100%-20 100%-20" 188 192 tooltip_style="onscreenToolTip" 189 193 tooltip="Click this button to start a new game with the current settings." -
ps/trunk/binaries/data/mods/public/gui/gamesetup/gamesetup_mp.xml
r10108 r10122 44 44 </object>3 100%-33 103 100%-3 45 45 46 <object type="button" size="50%+16 100%-6 450%+144 100%-32" style="StoneButton">46 <object type="button" size="50%+16 100%-60 50%+144 100%-32" style="StoneButton"> 47 47 Continue 48 48 <action on="Press"><![CDATA[ … … 85 85 </object> 86 86 87 <object type="button" size="50%+16 100%-6 450%+144 100%-32" style="StoneButton">87 <object type="button" size="50%+16 100%-60 50%+144 100%-32" style="StoneButton"> 88 88 Continue 89 89 <action on="Press"><![CDATA[ … … 98 98 </object> 99 99 100 <object type="button" style="StoneButton" size="50%-144 100%-6 450%-16 100%-32">100 <object type="button" style="StoneButton" size="50%-144 100%-60 50%-16 100%-32"> 101 101 Cancel 102 102 <action on="Press"><![CDATA[cancelSetup();]]></action> -
ps/trunk/binaries/data/mods/public/gui/manual/manual.xml
r10120 r10122 15 15 </object> 16 16 </object> 17 <object type="button" style="StoneButton" size="100%-32 0 100%-48 100%-160 100%-16">17 <object type="button" style="StoneButton" size="100%-324 100%-48 100%-164 100%-20"> 18 18 Online Manual 19 19 <action on="Press"><![CDATA[ … … 23 23 ]]></action> 24 24 </object> 25 <object type="button" style="StoneButton" tooltip_style="snToolTip" size="100%-14 4 100%-48 100%-16 100%-16">25 <object type="button" style="StoneButton" tooltip_style="snToolTip" size="100%-148 100%-48 100%-20 100%-20"> 26 26 Close 27 27 <action on="Press"><![CDATA[Engine.PopGuiPage();]]></action> -
ps/trunk/binaries/data/mods/public/gui/msgbox/msgbox.xml
r10108 r10122 72 72 { 73 73 case 1: 74 mbButton1Obj.size = "50%-64 100%- 64 50%+64 100%-32";74 mbButton1Obj.size = "50%-64 100%-76 50%+64 100%-48"; 75 75 break; 76 76 case 2: 77 mbButton1Obj.size = "50%-144 100%- 64 50%-16 100%-32";78 mbButton2Obj.size = "50%+16 100%- 64 50%+144 100%-32";77 mbButton1Obj.size = "50%-144 100%-76 50%-16 100%-48"; 78 mbButton2Obj.size = "50%+16 100%-76 50%+144 100%-48"; 79 79 break; 80 80 case 3: 81 mbButton1Obj.size = "10% 100%- 80 30% 100%-50";82 mbButton2Obj.size = "40% 100%- 80 60% 100%-50";83 mbButton3Obj.size = "70% 100%- 80 90% 100%-50";81 mbButton1Obj.size = "10% 100%-76 30% 100%-48"; 82 mbButton2Obj.size = "40% 100%-76 60% 100%-48"; 83 mbButton3Obj.size = "70% 100%-76 90% 100%-48"; 84 84 break; 85 85 } -
ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.js
r10119 r10122 1 1 var userReportEnabledText; // contains the original version with "$status" placeholder 2 2 var currentSubmenu; // contains placeholder submenu 3 const MARGIN = 4; 3 4 4 5 function init() … … 101 102 } 102 103 103 104 105 106 const MARGIN = 4;107 108 104 // Sizes right border on main menu panel to match the submenu 109 105 function blendSubmenuIntoMain(topPosition, bottomPosition) … … 130 126 var submenu = getGUIObjectByName("submenu"); 131 127 var top = position - MARGIN; 132 var bottom = position + ( buttonHeight * numButtons) + MARGIN;128 var bottom = position + ((buttonHeight + MARGIN) * numButtons); 133 129 submenu.size = submenu.size.left + " " + top + " " + submenu.size.right + " " + bottom; 134 130 submenu.hidden = false; -
ps/trunk/binaries/data/mods/public/gui/pregame/mainmenu.xml
r10121 r10122 194 194 type="button" 195 195 style="StoneButtonFancy" 196 size="4 4 100%-4 3 6"196 size="4 4 100%-4 32" 197 197 tooltip_style="pgToolTip" 198 198 tooltip="The 0 A.D. Game Manual" … … 211 211 style="StoneButtonFancy" 212 212 type="button" 213 size="4 36 100%-4 6 8"213 size="4 36 100%-4 64" 214 214 tooltip_style="pgToolTip" 215 215 tooltip="Challenge the computer player to a single player match." … … 227 227 style="StoneButtonFancy" 228 228 type="button" 229 size="4 68 100%-4 100"229 size="4 68 100%-4 96" 230 230 tooltip_style="pgToolTip" 231 231 tooltip="Fight against one or more human players in a multiplayer game." … … 243 243 style="StoneButtonFancy" 244 244 type="button" 245 size="4 100 100%-4 1 32"245 size="4 100 100%-4 128" 246 246 tooltip_style="pgToolTip" 247 247 tooltip="Game options and scenario design tools." … … 259 259 style="StoneButtonFancy" 260 260 type="button" 261 size="4 132 100%-4 16 4"261 size="4 132 100%-4 160" 262 262 tooltip_style="pgToolTip" 263 263 tooltip="Learn about the six civilizations featured in 0 A.D." … … 276 276 type="button" 277 277 style="StoneButtonFancy" 278 size="4 164 100%-4 19 6"278 size="4 164 100%-4 192" 279 279 tooltip_style="pgToolTip" 280 280 tooltip="Exit Game" … … 318 318 tooltip_style="pgToolTip" 319 319 tooltip="Click to open wildfiregames.com/0ad in your web browser." 320 size="8 100%- 4050%-4 100%-8"320 size="8 100%-36 50%-4 100%-8" 321 321 > 322 322 Website … … 332 332 tooltip_style="pgToolTip" 333 333 tooltip="Click to chat in IRC. (#0ad at webchat.quakenet.org)" 334 size="50%+4 100%- 40100%-8 100%-8"334 size="50%+4 100%-36 100%-8 100%-8" 335 335 > 336 336 IRC … … 413 413 type="button" 414 414 style="StoneButtonFancy" 415 size="0 0 100% 32"415 size="0 0 100% 28" 416 416 tooltip_style="pgToolTip" 417 417 tooltip="Click here to start a new single player game." … … 429 429 type="button" 430 430 style="StoneButtonFancy" 431 size="0 32 100% 6 4"431 size="0 32 100% 60" 432 432 tooltip_style="pgToolTip" 433 433 tooltip="Relive history through historical military campaigns. [NOT YET IMPLEMENTED]" … … 455 455 type="button" 456 456 style="StoneButtonFancy" 457 size="0 0 100% 32"457 size="0 0 100% 28" 458 458 tooltip_style="pgToolTip" 459 459 tooltip="Joining an existing multiplayer game." … … 471 471 type="button" 472 472 style="StoneButtonFancy" 473 size="0 32 100% 6 4"473 size="0 32 100% 60" 474 474 tooltip_style="pgToolTip" 475 475 tooltip="Host a multiplayer game." … … 497 497 style="StoneButtonFancy" 498 498 type="button" 499 size="0 0 100% 32"499 size="0 0 100% 28" 500 500 tooltip_style="pgToolTip" 501 501 tooltip="Adjust game settings. [NOT YET IMPLEMENTED]" … … 514 514 style="StoneButtonFancy" 515 515 type="button" 516 size="0 32 100% 6 4"516 size="0 32 100% 60" 517 517 tooltip_style="pgToolTip" 518 518 tooltip="Open the Atlas Scenario Editor in a new window. You can run this more reliably by starting the game with the command-line argument "-editor"." -
ps/trunk/binaries/data/mods/public/gui/session/session.xml
r10121 r10122 185 185 </object> 186 186 187 <object size="32 100%-4 4144 100%-12" type="button" style="StoneButton">187 <object size="32 100%-40 144 100%-12" type="button" style="StoneButton"> 188 188 Cancel 189 189 <action on="Press">closeChat();</action> 190 190 </object> 191 <object size="100%-144 100%-4 4100%-32 100%-12" type="button" style="StoneButton">191 <object size="100%-144 100%-40 100%-32 100%-12" type="button" style="StoneButton"> 192 192 Send 193 193 <action on="Press">submitChatInput();</action> … … 209 209 210 210 <object name="menu" 211 style=" TranslucentPanelThinBorder"211 style="StonePanelThinBorder" 212 212 type="image" 213 size="100%-164 0 100% 16 8"213 size="100%-164 0 100% 164" 214 214 hidden="true" 215 215 > … … 220 220 name="settingsButton" 221 221 style="StoneButtonFancy" 222 size="0 0 100% 32"222 size="0 0 100% 28" 223 223 tooltip_style="sessionToolTip" 224 224 > … … 233 233 name="chatButton" 234 234 style="StoneButtonFancy" 235 size="0 32 100% 6 4"235 size="0 32 100% 60" 236 236 tooltip_style="sessionToolTip" 237 237 > … … 246 246 name="pauseButton" 247 247 style="StoneButtonFancy" 248 size="0 64 100% 9 6"248 size="0 64 100% 92" 249 249 tooltip_style="sessionToolTip" 250 250 > … … 259 259 name="menuExitButton" 260 260 style="StoneButtonFancy" 261 size="0 96 100% 12 8"261 size="0 96 100% 124" 262 262 tooltip_style="sessionToolTip" 263 263 > … … 327 327 <object type="button" 328 328 style="StoneButton" 329 size="50%-64 100%-5 650%+64 100%-24"329 size="50%-64 100%-52 50%+64 100%-24" 330 330 tooltip_style="sessionToolTip" 331 331 > … … 341 341 type="image" 342 342 sprite="topPanel" 343 size="-3 0 100%+3 40"343 size="-3 0 100%+3 36" 344 344 > 345 345 <!-- ================================ ================================ --> … … 347 347 <!-- ================================ ================================ --> 348 348 <object 349 size="1 %0 45% 100%"349 size="10 0 45% 100%" 350 350 > 351 351 <!-- Food --> 352 <object size="0 0 20%100%" type="image" style="resourceCounter" tooltip="Food" tooltip_style="sessionToolTipBold">353 <object size="0 - 6 48 42" type="image" style="resourceIcon" cell_id="0"/>354 <object size="3 0%0 100% 100%-2" type="text" style="resourceText" name="resourceFood"/>352 <object size="0 0 90 100%" type="image" style="resourceCounter" tooltip="Food" tooltip_style="sessionToolTipBold"> 353 <object size="0 -4 40 36" type="image" style="resourceIcon" cell_id="0"/> 354 <object size="32 0 100% 100%-2" type="text" style="resourceText" name="resourceFood"/> 355 355 </object> 356 356 357 357 <!-- Wood --> 358 <object size=" 20% 0 40%100%" type="image" style="resourceCounter" tooltip="Wood" tooltip_style="sessionToolTipBold">359 <object size="0 - 6 48 42" type="image" style="resourceIcon" cell_id="1"/>360 <object size="3 0%0 100% 100%-2" type="text" style="resourceText" name="resourceWood"/>358 <object size="90 0 180 100%" type="image" style="resourceCounter" tooltip="Wood" tooltip_style="sessionToolTipBold"> 359 <object size="0 -4 40 36" type="image" style="resourceIcon" cell_id="1"/> 360 <object size="32 0 100% 100%-2" type="text" style="resourceText" name="resourceWood"/> 361 361 </object> 362 362 363 363 <!-- Stone --> 364 <object size=" 40% 0 60%100%" type="image" style="resourceCounter" tooltip="Stone" tooltip_style="sessionToolTipBold">365 <object size="0 - 2 48 42" type="image" style="resourceIcon" cell_id="2"/>366 <object size="3 0%0 100% 100%-2" type="text" style="resourceText" name="resourceStone"/>364 <object size="180 0 270 100%" type="image" style="resourceCounter" tooltip="Stone" tooltip_style="sessionToolTipBold"> 365 <object size="0 -4 40 36" type="image" style="resourceIcon" cell_id="2"/> 366 <object size="32 0 100% 100%-2" type="text" style="resourceText" name="resourceStone"/> 367 367 </object> 368 368 369 369 <!-- Metal --> 370 <object size=" 60% 0 80%100%" type="image" style="resourceCounter" tooltip="Metal" tooltip_style="sessionToolTipBold">371 <object size="0 - 6 48 42" type="image" style="resourceIcon" cell_id="3"/>372 <object size="3 0%0 100% 100%-2" type="text" style="resourceText" name="resourceMetal"/>370 <object size="270 0 360 100%" type="image" style="resourceCounter" tooltip="Metal" tooltip_style="sessionToolTipBold"> 371 <object size="0 -4 40 36" type="image" style="resourceIcon" cell_id="3"/> 372 <object size="32 0 100% 100%-2" type="text" style="resourceText" name="resourceMetal"/> 373 373 </object> 374 374 375 375 <!-- Population --> 376 <object size=" 80% 0 100%100%" type="image" style="resourceCounter" tooltip="Population (current / limit)" tooltip_style="sessionToolTipBold">377 <object size="0 - 6 44 38" type="image" style="resourceIcon" cell_id="4"/>378 <object size="3 0%0 100% 100%-2" type="text" style="resourceText" name="resourcePop"/>376 <object size="360 0 450 100%" type="image" style="resourceCounter" tooltip="Population (current / limit)" tooltip_style="sessionToolTipBold"> 377 <object size="0 -4 40 34" type="image" style="resourceIcon" cell_id="4"/> 378 <object size="32 0 100% 100%-2" type="text" style="resourceText" name="resourcePop"/> 379 379 </object> 380 380 </object> … … 396 396 397 397 <!-- Displays Alpha name and number --> 398 <object size="70%-128 170%+128 100%" name="alphaLabel" type="text" style="CenteredLabelText" text_valign="top" ghost="true">398 <object size="70%-128 0 70%+128 100%" name="alphaLabel" type="text" style="CenteredLabelText" text_valign="top" ghost="true"> 399 399 ALPHA VI : Fortuna 400 400 401 401 <!-- Displays build date and revision number--> 402 <object size="50%-128 0 50%+128 100%- 3" name="buildTimeLabel" type="text" text_align="center" text_valign="bottom" font="serif-12" textcolor="white" ghost="true">402 <object size="50%-128 0 50%+128 100%-2" name="buildTimeLabel" type="text" text_align="center" text_valign="bottom" font="serif-12" textcolor="white" ghost="true"> 403 403 <action on="Load"><![CDATA[this.caption = buildTime(0) + " (" + buildTime(2) + ")";]]></action> 404 404 </object> 405 405 </object> 406 406 407 408 409 407 <!-- ================================ ================================ --> 410 408 <!-- Menu Button --> … … 412 410 <object type="button" 413 411 name="menuButton" 414 size="100%-164 4 100%-8 3 6"412 size="100%-164 4 100%-8 32" 415 413 style="StoneButtonFancy" 416 414 tooltip_style="sessionToolTip" -
ps/trunk/binaries/data/mods/public/gui/summary/summary.xml
r10085 r10122 172 172 </object> 173 173 174 <object type="button" style="StoneButton" size="100%-17 2 100%-48 100%-16 100%-16">174 <object type="button" style="StoneButton" size="100%-176 100%-48 100%-20 100%-20"> 175 175 Main Menu 176 176 <action on="Press"><