Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/mainmenu.xml
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Lines | > | ||||
</object> | </object> | ||||
<!-- STRUCTREE BUTTON --> | <!-- STRUCTREE BUTTON --> | ||||
<object | <object | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
type="button" | type="button" | ||||
size="0 64 100% 92" | size="0 64 100% 92" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
name="structreeButton" | |||||
hotkey="structree" | |||||
> | > | ||||
<translatableAttribute id="caption">Structure Tree</translatableAttribute> | <translatableAttribute id="caption">Structure Tree</translatableAttribute> | ||||
<translatableAttribute id="tooltip">View the structure tree of civilizations featured in 0 A.D.</translatableAttribute> | |||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_structree.xml", {}); | Engine.PushGuiPage("page_structree.xml", {}); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<!-- HISTORY BUTTON --> | <!-- HISTORY BUTTON --> | ||||
<object | <object | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
type="button" | type="button" | ||||
size="0 96 100% 124" | size="0 96 100% 124" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
name="civInfoButton" | |||||
hotkey="civinfo" | |||||
> | > | ||||
<translatableAttribute id="caption">History</translatableAttribute> | <translatableAttribute id="caption">History</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Learn about the many civilizations featured in 0 A.D.</translatableAttribute> | |||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_civinfo.xml"); | Engine.PushGuiPage("page_civinfo.xml"); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
▲ Show 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | > | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<object | <object | ||||
type="button" | type="button" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 64 100% 92" | size="0 64 100% 92" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
name="lobbyButton" | |||||
hotkey="lobby" | hotkey="lobby" | ||||
> | > | ||||
<translatableAttribute id="caption">Game Lobby</translatableAttribute> | <translatableAttribute id="caption">Game Lobby</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Launch the multiplayer lobby.</translatableAttribute> | |||||
<action on="Press"> | <action on="Press"> | ||||
if (!Engine.StartXmppClient) | if (!Engine.StartXmppClient) | ||||
return; | return; | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_prelobby.xml"); | Engine.PushGuiPage("page_prelobby.xml"); | ||||
</action> | </action> | ||||
<action on="load"> | <action on="load"> | ||||
if (!Engine.StartXmppClient) | if (!Engine.StartXmppClient) | ||||
▲ Show 20 Lines • Show All 344 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator