1
0
forked from 0ad/0ad

Quickly added an Editor button.

This was SVN commit r1541.
This commit is contained in:
Acumen 2004-12-21 17:54:33 +00:00
parent 659a9ea57a
commit 16e5b8f94b
30 changed files with 102 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -33,7 +33,7 @@
]]></action>
</object>
<object type="button" name="pregame-mainmenu-mp-button" sprite-over="pregame-mainmenu-mpbt" size="61.00% 48.50% 74.45% 66.55%" z="101" hidden="false">
<object type="button" name="pregame-mainmenu-mp-button" sprite-over="pregame-mainmenu-mpbt" size="60.80% 48.50% 74.40% 66.55%" z="101" hidden="false">
<action on="Press"><![CDATA[
getGUIObjectByName("pregame_subwindow_bkg").hidden = false;
getGUIObjectByName("pregame_ip_host").hidden = false;
@ -48,6 +48,20 @@
]]></action>
</object>
<object type="button" name="pregame-mainmenu-ed-button" sprite-over="pregame-mainmenu-edbt" size="44.00% 61.50% 62.45% 83.55%" z="101" hidden="false">
<action on="Press"><![CDATA[
]]></action>
<action on="MouseEnter"><![CDATA[
tooltipObject = getGUIObjectByName("pregame-mainmenu-tooltip");
tooltipObject.caption = "Come forth and witness a totally non-functioning Editor, a mere shadow of its potential self!";
GUIObjectUnhide("pregame-mainmenu-tooltip");
]]></action>
<action on="MouseLeave"><![CDATA[
GUIObjectHide("pregame-mainmenu-tooltip");
]]></action>
</object>
<object type="image" name="pregame-mainmenu-0ad-logo" sprite="pregame-mainmenu-0ad-logo-480x218" size="21.1914062% 3.125% 68.0664062% 31.5104166%" z="102" hidden="false" ghost="true"/>
<object type="text" name="pregame-mainmenu-versionnumber" size="43% 24% 43%+282 24%+25" z="103" textcolor="237 227 167" font="prospero16" hidden="false" ghost="true">

View File

@ -204,7 +204,11 @@
</sprite>
<sprite name="pregame-mainmenu-mpbt">
<image texture="pregame/ui_pregame_mainmenu_mpbt_over.png" real-texture-placement="1 1 137 139" size="0 0 100% 100%" />
<image texture="pregame/ui_pregame_mainmenu_mpbt_over.png" real-texture-placement="1 1 136 138" size="0 0 100% 100%" />
</sprite>
<sprite name="pregame-mainmenu-edbt">
<image texture="pregame/ui_pregame_mainmenu_edbt_over.png" real-texture-placement="1 1 203 161" size="0 0 100% 100%" />
</sprite>
<sprite name="tooltip-background">