Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/mainmenu.xml
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | > | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 0 100% 28" | size="0 0 100% 28" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
> | > | ||||
<translatableAttribute id="caption">Manual</translatableAttribute> | <translatableAttribute id="caption">Manual</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Open the 0 A.D. Game Manual.</translatableAttribute> | <translatableAttribute id="tooltip">Open the 0 A.D. Game Manual.</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_manual.xml", { | Engine.PushGuiPage("page_manual.xml"); | ||||
"page": "manual/intro", | |||||
"title": getManual(), | |||||
"url": "https://trac.wildfiregames.com/wiki/0adManual" | |||||
}); | |||||
</action> | </action> | ||||
</object> | </object> | ||||
<!-- START TUTORIAL BUTTON --> | <!-- START TUTORIAL BUTTON --> | ||||
<object | <object | ||||
type="button" | type="button" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 32 100% 60" | size="0 32 100% 60" | ||||
Show All 11 Lines | > | ||||
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" | name="structreeButton" | ||||
hotkey="structree" | hotkey="structree" | ||||
> | > | ||||
<translatableAttribute id="caption">Structure Tree</translatableAttribute> | <translatableAttribute id="caption">Structure Tree</translatableAttribute> | ||||
<action on="Press"> | <action on="Press">openStrucTreePage("page_structree.xml");</action> | ||||
closeMenu(); | |||||
Engine.PushGuiPage("page_structree.xml", {}); | |||||
</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" | name="civInfoButton" | ||||
hotkey="civinfo" | hotkey="civinfo" | ||||
> | > | ||||
<translatableAttribute id="caption">History</translatableAttribute> | <translatableAttribute id="caption">History</translatableAttribute> | ||||
<action on="Press"> | <action on="Press">openStrucTreePage("page_civinfo.xml");</action> | ||||
closeMenu(); | |||||
Engine.PushGuiPage("page_civinfo.xml"); | |||||
</action> | |||||
</object> | </object> | ||||
</object> | </object> | ||||
<!-- submenuSinglePlayer --> | <!-- submenuSinglePlayer --> | ||||
<object name="submenuSinglePlayer" | <object name="submenuSinglePlayer" | ||||
type="image" | type="image" | ||||
size="0 4 100%-4 100%-4" | size="0 4 100%-4 100%-4" | ||||
▲ Show 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | > | ||||
type="button" | type="button" | ||||
size="0 96 100% 124" | size="0 96 100% 124" | ||||
tooltip_style="pgToolTip" | tooltip_style="pgToolTip" | ||||
> | > | ||||
<translatableAttribute id="caption">Welcome Screen</translatableAttribute> | <translatableAttribute id="caption">Welcome Screen</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Show the Welcome Screen. Useful if you hid it by mistake.</translatableAttribute> | <translatableAttribute id="tooltip">Show the Welcome Screen. Useful if you hid it by mistake.</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
closeMenu(); | closeMenu(); | ||||
Engine.PushGuiPage("page_splashscreen.xml", { | Engine.PushGuiPage("page_splashscreen.xml", {}, ShowRenderPathMessage); | ||||
"page": "splashscreen", | |||||
"callback": "SplashScreenClosedCallback" | |||||
}); | |||||
</action> | </action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
<!-- | <!-- | ||||
========================================== | ========================================== | ||||
▲ Show 20 Lines • Show All 258 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator