Places the intro-button perfectly

This was SVN commit r1102.
This commit is contained in:
Gee
2004-09-02 14:41:33 +00:00
parent 6b384432e0
commit 30eb103c20
3 changed files with 16 additions and 6 deletions
@@ -96,9 +96,9 @@
<object type="empty" name="pregame_gui" size="0 0 100% 100%" z="1" hidden="false">
<!-- TEST -->
<object type="button" name="pregame-mainmenu-background-image" sprite="pregame-mainmenu-background" size="0 0 100% 100%" z="100" hidden="false" />
<object type="button" name="pregame-mainmenu-sp-button" sprite-over="pregame-mainmenu-spbt" size="53% 24% 67% 42%" z="101" hidden="false">
<action on="Press"><![CDATA[
<object type="image" name="pregame-mainmenu-background-image" sprite="pregame-mainmenu-background" size="0 0 100% 100%" z="100" hidden="false" />
<object type="button" name="pregame-mainmenu-sp-button" sprite-over="pregame-mainmenu-spbt" size="52.9296875% 23.95833333% 67.578125% 42.317708333%" z="101" hidden="false"> <action on="Press"><![CDATA[
startGame();
GUIObjectUnhide("session_gui");
GUIObjectHide("pregame_gui")
@@ -28,4 +28,5 @@
sprite-button-bottom-pressed="scroll"
sprite-button-top-pressed="scroll"
/>
<icon name="smiley" texture="test2" size="16 16" />
</setup>
@@ -22,7 +22,16 @@
<sprite name="wfg_logo_128">
<image texture="wfg_logo_128.tga" texture-size="0 0 128 128" size="0 0 128 128" />
</sprite>
<!-- Some more temps /Gee -->
<sprite name="test">
<image size="0 0 100% 100%" backcolor="100 100 250" />
</sprite>
<sprite name="test2">
<image size="0 0 100% 100%" backcolor="200 100 050" />
</sprite>
<!--
==========================================
PREGAME GUI
@@ -30,11 +39,11 @@
-->
<sprite name="pregame-mainmenu-background">
<image texture="ui_pregame_mainmenu_background.png" texture-size="0 0 100% 133%+4" size="0 0 100% 100%" />
<image texture="ui_pregame_mainmenu_background.png" real-texture-placement="0 0 1024 768" size="0 0 100% 100%" />
</sprite>
<sprite name="pregame-mainmenu-spbt">
<image texture="ui_pregame_mainmenu_spbt_over.png" texture-size="0 0 256 256" size="0 0 152 143" />
<image texture="ui_pregame_mainmenu_spbt_over.png" real-texture-placement="1 1 151 142" size="0 0 100% 100%" />
</sprite>
<!--