Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menu/data/gui/layouts/HostMenu.layout @ 7652

Last change on this file since 7652 was 7587, checked in by konrad, 14 years ago

changes in the multiplayer menu, 2 buttons instead of 3: host and join separated.

File size: 2.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/HostMenuBackground" >
5        <Property Name="FrameEnabled" Value="False" />
6        <Property Name="InheritsAlpha" Value="False" />
7        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
8        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
9        <Property Name="BackgroundEnabled" Value="False" />
10
11
12        <Window Type="MenuWidgets/StaticText" Name="orxonox/HostMenuWindow" >
13            <Property Name="Text" Value="Multiplayer" />
14            <Property Name="Alpha" Value="0.8" />
15            <Property Name="InheritsAlpha" Value="False" />
16            <Property Name="HorzFormatting" Value="HorzCentred" />
17            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
18            <Property Name="VertFormatting" Value="TopAligned" />
19            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.6375,0}}" />
20            <Window Type="MenuWidgets/Listbox" Name="orxonox/HostMenuListbox" >
21                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
22                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.8,0}}" />
23            </Window>
24           
25
26            <Window Type="MenuWidgets/RadioButton" Name="orxonox/HostMenuHostButton" >
27                <Property Name="Text" Value="Build Server"/>
28                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29                <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.85,0},{0.4,0},{0.95,0}}" />
30                <Event Name="SelectStateChanged" Function="HostMenu.HostMenuBuildServerButton_clicked"/>
31            </Window>
32            <Window Type="MenuWidgets/RadioButton" Name="orxonox/HostMenuDedicatedButton" >
33                <Property Name="Text" Value="Dedicated" />
34                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
35                <Property Name="UnifiedAreaRect" Value="{{0.7,0},{0.85,0},{0.9,0},{0.95,0}}" />
36                <Event Name="SelectStateChanged" Function="HostMenu.HostMenuDedicatedButton_clicked"/>
37            </Window>
38
39        </Window>
40
41        <Window Type="MenuWidgets/Button" Name="orxonox/HostMenuStartButton" >
42            <Property Name="Text" Value="Start" />
43            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
44            <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" />
45            <Event Name="Clicked" Function="HostMenu.HostMenuStartButton_clicked"/>
46        </Window>
47        <Window Type="MenuWidgets/Button" Name="orxonox/HostMenuBackButton" >
48                    <Property Name="Text" Value="Back" />
49                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
50                    <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" />
51                    <Event Name="Clicked" Function="HostMenu.HostMenuBackButton_clicked"/>
52                </Window>
53
54    </Window>
55</GUILayout>
56
Note: See TracBrowser for help on using the repository browser.