Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/gui/layouts/MainMenu_2.layout @ 5573

Last change on this file since 5573 was 5527, checked in by bknecht, 16 years ago

media update for a working main menu. I hope this does not destroy something, I think it shouldn't.

File size: 2.7 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    <Property Name="FrameEnabled" Value="set:true"/>
7    <Property Name="BackgroundEnabled" Value="set:false"/>
8 
9        <Window Type="TaharezLook/Button" Name="orxonox/StandaloneButton">
10            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.3,0}}"/>
11            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
12            <Property Name="Text" Value="Standalone"/>
13            <Property Name="Disabled" Value="true"/>
14            <Event Name="Clicked" Function="mainmenu_2.button_standalone_clicked"/>
15        </Window>
16       
17        <Window Type="TaharezLook/Listbox" Name="orxonox/LevelListbox">
18            <Property Name="UnifiedPosition" Value="{{0.4,0},{0.3,0}}"/>
19            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
20            <Property Name="UnifiedSize" Value="{{0.35,0},{0.33,0}}" />
21            <Property Name="Tooltip" Value="Available Levels." />
22            <Event Name="ItemSelectionChanged" Function="mainmenu_2.listbox_level_selectionchanged" />
23        </Window>
24       
25        <Window Type="TaharezLook/Button" Name="orxonox/DedicatedButton">
26            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.376,0}}"/>
27            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
28            <Property Name="Text" Value="Dedicated"/>
29            <Event Name="Clicked" Function="mainmenu_2.button_dedicated_clicked"/>
30        </Window>
31       
32        <Window Type="TaharezLook/Button" Name="orxonox/ServerButton">
33            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.452,0}}"/>
34            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
35            <Property Name="Text" Value="Server"/>
36            <Event Name="Clicked" Function="mainmenu_2.button_server_clicked"/>
37        </Window>
38       
39        <Window Type="TaharezLook/Button" Name="orxonox/ClientButton">
40            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.528,0}}"/>
41            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
42            <Property Name="Text" Value="Client"/>
43            <Event Name="Clicked" Function="mainmenu_2.button_client_clicked"/>
44        </Window>
45       
46        <Window Type="TaharezLook/Button" Name="orxonox/QuitButton">
47            <Property Name="UnifiedPosition" Value="{{0.11,0},{0.604,0}}"/>
48            <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
49            <Property Name="Text" Value="Quit"/>
50            <Event Name="Clicked" Function="mainmenu_2.button_quit_clicked"/>
51        </Window>
52    </Window>
53</GUILayout>
Note: See TracBrowser for help on using the repository browser.