Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/manual/manual.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<objects> | <objects> | ||||
<script directory="gui/common/"/> | <script directory="gui/common/"/> | ||||
<script directory="gui/manual/"/> | <script directory="gui/manual/"/> | ||||
<!-- Add a translucent black background to fade out the menu page --> | <!-- Add a translucent black background to fade out the menu page --> | ||||
<object type="image" z="0" sprite="ModernFade"/> | <object type="image" z="0" sprite="ModernFade"/> | ||||
<object type="image" style="ModernDialog" size="50%-466 50%-316 50%+466 50%+316"> | <object type="image" style="ModernDialog" size="50%-466 50%-316 50%+466 50%+316"> | ||||
<object name="title" style="ModernLabelText" type="text" size="50%-128 -18 50%+128 14"> | <object name="title" style="ModernLabelText" type="text" size="50%-128 -18 50%+128 14"> | ||||
<translatableAttribute id="caption">Manual</translatableAttribute> | <translatableAttribute id="caption">Manual</translatableAttribute> | ||||
</object> | </object> | ||||
<object type="image" sprite="ModernFade" size="20 20 100%-20 100%-58"> | <object type="image" sprite="ModernFade" size="20 20 100%-20 100%-58"> | ||||
<object name="mainText" type="text" style="ModernTextPanel"/> | <object name="mainText" type="text" style="ModernTextPanel"> | ||||
<action on="Load">this.caption = Engine.TranslateLines(Engine.ReadFile("gui/manual/intro.txt"));</action> | |||||
</object> | |||||
</object> | </object> | ||||
<object type="button" style="ModernButtonRed" tooltip_style="snToolTip" size="100%-408 100%-52 100%-218 100%-24" hotkey="cancel"> | <object type="button" style="ModernButtonRed" tooltip_style="snToolTip" size="100%-408 100%-52 100%-218 100%-24" hotkey="cancel"> | ||||
<translatableAttribute id="caption">Close</translatableAttribute> | <translatableAttribute id="caption">Close</translatableAttribute> | ||||
<action on="Press">closeManual();</action> | <action on="Press">Engine.PopGuiPage();</action> | ||||
</object> | </object> | ||||
<object name="url" type="button" style="ModernButtonRed" size="100%-214 100%-52 100%-24 100%-24"> | <object name="url" type="button" style="ModernButtonRed" size="100%-214 100%-52 100%-24 100%-24"> | ||||
<translatableAttribute id="caption">View Online</translatableAttribute> | <translatableAttribute id="caption">View Online</translatableAttribute> | ||||
<action on="Press">openURL("https://trac.wildfiregames.com/wiki/0adManual");</action> | <action on="Press">openURL("https://trac.wildfiregames.com/wiki/0adManual");</action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator