0ad/binaries/data/mods/public/gui/manual/manual.xml

34 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script file="gui/common/functions_global_object.js"/>
<script file="gui/manual/manual.js"/>
<!-- Add a translucent black background to fade out the menu page -->
<object type="image" z="0" style="TranslucentPanel"/>
<object type="image" style="StonePanelLight" size="50%-466 50%-316 50%+466 50%+316">
<object type="image" style="TranslucentPanelThinBorder" size="16 16 100%-16 100%-48">
<object type="image" style="TranslucentPanel" size="16 4 100%-4 100%-4">
<object name="mainText" type="text" style="textPanel"/>
</object>
</object>
<object type="button" style="StoneButton" size="100%-320 100%-48 100%-160 100%-16">
Online Manual
<action on="Press"><![CDATA[
var url = "http://trac.wildfiregames.com/wiki/0adManual";
Engine.OpenURL(url);
messageBox(500, 200, "Opening "+url+" in default web browser. Please wait...", "Opening page", 2);
]]></action>
</object>
<object type="button" style="StoneButton" tooltip_style="snToolTip" size="100%-144 100%-48 100%-16 100%-16">
Close
<action on="Press"><![CDATA[Engine.PopGuiPage();]]></action>
</object>
</object>
</objects>