364 | 364 | style="StoneButtonFancy" |
365 | 365 | type="button" |
366 | 366 | size="0 96 100% 124" |
367 | 367 | tooltip_style="pgToolTip" |
368 | 368 | > |
369 | 369 | <translatableAttribute id="caption">Scenario Editor</translatableAttribute> |
370 | 370 | <translatableAttribute id="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".</translatableAttribute> |
371 | 371 | <action on="Press"> |
372 | 372 | pressedScenarioEditorButton(); |
373 | 373 | </action> |
374 | 374 | </object> |
375 | 375 | |
376 | 376 | <object name="submenuWelcomeScreenButton" |
377 | 377 | style="StoneButtonFancy" |
378 | 378 | type="button" |
379 | 379 | size="0 128 100% 156" |
380 | 380 | tooltip_style="pgToolTip" |
381 | 381 | > |
382 | 382 | <translatableAttribute id="caption">Welcome Screen</translatableAttribute> |
383 | 383 | <translatableAttribute id="tooltip">Show the Welcome Screen. Useful if you hid it by mistake.</translatableAttribute> |
384 | 384 | <action on="Press"> |
385 | 385 | <![CDATA[ |
386 | 386 | closeMenu(); |
387 | 387 | Engine.PushGuiPage("page_splashscreen.xml", { "page": "splashscreen", callback : "SplashScreenClosedCallback" } ); |
388 | 388 | ]]> |
389 | 389 | </action> |
390 | 390 | </object> |
391 | 391 | <object name="submenuModSelection" |
392 | 392 | style="StoneButtonFancy" |
393 | 393 | type="button" |
395 | 395 | tooltip_style="pgToolTip" |
396 | 396 | > |
397 | 397 | <translatableAttribute id="caption">Mod Selection</translatableAttribute> |
398 | 398 | <translatableAttribute id="tooltip">Select mods to use.</translatableAttribute> |
399 | 399 | <action on="Press"> |
400 | 400 | Engine.SwitchGuiPage("page_modmod.xml", {}); |
401 | 401 | </action> |
402 | 402 | </object> |
403 | 403 | </object> |
404 | 404 | </object><!-- end of submenu --> |
405 | 405 | |
406 | 406 | |
407 | 407 | <!-- |
408 | 408 | ========================================== |
409 | 409 | - MAIN MENU PANEL |
410 | 410 | ========================================== |
411 | 411 | --> |
412 | 412 | <object name="mainMenu" |
413 | 413 | type="image" |
414 | 414 | style="MainMenuPanel" |
415 | 415 | size="60 -2 300 100%+2" |
416 | 416 | z="50" |
417 | 417 | > |
418 | 418 | <!-- These are used to make the right side blend in with the submenu --> |
419 | 419 | <object name="MainMenuPanelRightBorderTop" |
420 | 420 | type="image" |
421 | 421 | sprite="MainMenuPanelRightBorder" |
422 | 422 | ghost="true" |
423 | 423 | size="100%-2 0 100% 100%" |
424 | 424 | /> |