Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/gui/layouts/MainMenu.layout @ 5428

Last change on this file since 5428 was 5427, checked in by bknecht, 16 years ago

CEGUI code structure is now set. Images are loaded into imagesets(XML), those are loaded via schemes(XML), which are loaded in lua scripts. Each gui should now be able to be loaded via a seperate lua-script which itself loads its own layout(XML).

File size: 2.1 KB
Line 
1<?xml version="1.0" ?>
2<GUILayout>
3    <Window Type="TaharezLook/StaticImage" Name="orxonox/Background">
4    <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/>
5    <Property Name="Image" Value="set:MainMenuBackground image:Background"/>
6   
7        <Window Type="TaharezLook/Button" Name="orxonox/StandaloneButton">
8            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.3,0}}"/>
9            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
10            <Property Name="Text" Value="Standalone"/>
11            <Event Name="Clicked" Function="button_standalone_clicked"/>
12        </Window>
13       
14        <Window Type="TaharezLook/Button" Name="orxonox/DedicatedButton">
15            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.376,0}}"/>
16            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
17            <Property Name="Text" Value="Dedicated"/>
18            <Event Name="Clicked" Function="button_dedicated_clicked"/>
19        </Window>
20       
21        <Window Type="TaharezLook/Button" Name="orxonox/ServerButton">
22            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.452,0}}"/>
23            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
24            <Property Name="Text" Value="Server"/>
25            <Event Name="Clicked" Function="button_server_clicked"/>
26        </Window>
27       
28        <Window Type="TaharezLook/Button" Name="orxonox/ClientButton">
29            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.528,0}}"/>
30            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
31            <Property Name="Text" Value="Client"/>
32            <Event Name="Clicked" Function="button_client_clicked"/>
33        </Window>
34       
35        <Window Type="TaharezLook/Button" Name="orxonox/QuitButton">
36            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.528,0}}"/>
37            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
38            <Property Name="Text" Value="Quit"/>
39            <Event Name="Clicked" Function="button_quit_clicked"/>
40        </Window>
41    </Window>
42</GUILayout>
Note: See TracBrowser for help on using the repository browser.