Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorial3/data/gui/layouts/HostMenu.layout

Last change on this file was 7887, checked in by landauf, 14 years ago

eol-style native

  • Property svn:eol-style set to native
File size: 3.3 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        <Window Type="MenuWidgets/StaticText" Name="orxonox/HostMenuWindow" >
11            <Property Name="Text" Value="Multiplayer" />
12            <Property Name="Alpha" Value="0.8" />
13            <Property Name="InheritsAlpha" Value="False" />
14            <Property Name="HorzFormatting" Value="HorzCentred" />
15            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
16            <Property Name="VertFormatting" Value="TopAligned" />
17            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.7,0}}" />
18            <Window Type="MenuWidgets/Listbox" Name="orxonox/HostMenuListbox" >
19                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
20                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
21            </Window>
22            <Window Type="MenuWidgets/RadioButton" Name="orxonox/HostMenuHostButton" >
23                <Property Name="Text" Value="Build Server"/>
24                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
25                <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.87,0},{0.3,0},{0.97,0}}" />
26                <Event Name="SelectStateChanged" Function="HostMenu.HostMenuBuildServerButton_clicked"/>
27            </Window>
28            <Window Type="MenuWidgets/RadioButton" Name="orxonox/HostMenuDedicatedButton" >
29                <Property Name="Text" Value="Dedicated" />
30                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
31                <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.87,0},{0.7,0},{0.97,0}}" />
32                <Event Name="SelectStateChanged" Function="HostMenu.HostMenuDedicatedButton_clicked"/>
33            </Window>
34            <Window Type="MenuWidgets/Checkbox" Name="orxonox/MultiplayerShowAllCheckbox" >
35                <Property Name="Text" Value="show all" />
36                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37                <Property Name="UnifiedAreaRect" Value="{{0.8,0},{0.87,0},{1,0},{.97,0}}" />
38                <Event Name="CheckStateChanged" Function="HostMenu.MultiplayerShowAll_clicked"/>
39            </Window>
40        </Window>
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.725,0},{0.4875,0},{0.775,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.725,0},{0.7125,0},{0.775,0}}" />
51            <Event Name="Clicked" Function="HostMenu.HostMenuBackButton_clicked"/>
52        </Window>
53    </Window>
54</GUILayout>
55
Note: See TracBrowser for help on using the repository browser.