roc_samples/data/xml/ui.xml

33 lines
947 B
XML

<ui>
<button id="mainmenu_b1">
<label>Start</label>
<callback>startgame</callback>
<padding x="20" y="0"/>
</button>
<button id="mainmenu_b2">
<label>Options</label>
<callback>startgame</callback>
<padding x="20" y="0"/>
</button>
<button id="mainmenu_b3">
<label>Exit</label>
<callback>startgame</callback>
<padding x="20" y="0"/>
</button>
<grid id="mainmenu_button_grid">
<row number="1"><col number="1"><content id="mainmenu_b1"/></col></row>
<row number="2"><col number="1"><content id="mainmenu_b2"/></col></row>
<row number="3"><col number="1"><content id="mainmenu_b3"/></col></row>
<postype>center</postype>
<filltype>stretch</filltype>
</grid>
<wrapper id="mainmenu_bg_wrap">
<padding x="20" y="30"/>
<content id="mainmenu_button_grid"/>
</wrapper>
<frame id="mainmenu_frame">
<color r="0" g="0" b="1" a="0.35"/>
<postype>center</postype>
<content id="mainmenu_bg_wrap"/>
</frame>
</ui>