Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/HostMenu.layout @ 12412

Last change on this file since 12412 was 11803, checked in by landauf, 7 years ago

fixed alignment

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1<?xml version='1.0' encoding='utf-8'?>
2<GUILayout version="4">
3    <Window name="HostMenuBackground" type="MenuWidgets/StaticImage">
4        <Property name="FrameEnabled" value="False" />
5        <Property name="InheritsAlpha" value="False" />
6        <Property name="MaxSize" value="{{1,0},{1,0}}" />
7        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
8        <Property name="BackgroundEnabled" value="False" />
9        <Window name="HostMenuWindow" type="MenuWidgets/StaticText">
10            <Property name="Text" value="Multiplayer" />
11            <Property name="Alpha" value="0.8" />
12            <Property name="InheritsAlpha" value="False" />
13            <Property name="HorzFormatting" value="CentreAligned" />
14            <Property name="MaxSize" value="{{1,0},{1,0}}" />
15            <Property name="VertFormatting" value="TopAligned" />
16            <Property name="Area" value="{{0.25,0},{0.2875,0},{0.75,0},{0.7,0}}" />
17            <Window name="HostMenuListbox" type="MenuWidgets/Listbox">
18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
19                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
20            </Window>
21            <Window name="HostMenuHostButton" type="MenuWidgets/RadioButton">
22                <Property name="Text" value="Build Server" />
23                <Property name="MaxSize" value="{{1,0},{1,0}}" />
24                <Property name="Area" value="{{0.1,0},{0.87,0},{0.3,0},{0.97,0}}" />
25                <Event function="HostMenu.HostMenuBuildServerButton_clicked" name="SelectStateChanged" />
26            </Window>
27            <Window name="HostMenuDedicatedButton" type="MenuWidgets/RadioButton">
28                <Property name="Text" value="Dedicated" />
29                <Property name="MaxSize" value="{{1,0},{1,0}}" />
30                <Property name="Area" value="{{0.5,0},{0.87,0},{0.7,0},{0.97,0}}" />
31                <Event function="HostMenu.HostMenuDedicatedButton_clicked" name="SelectStateChanged" />
32            </Window>
33            <Window name="MultiplayerShowAllCheckbox" type="MenuWidgets/Checkbox">
34                <Property name="Text" value="show all" />
35                <Property name="MaxSize" value="{{1,0},{1,0}}" />
36                <Property name="Area" value="{{0.8,0},{0.87,0},{1,0},{.97,0}}" />
37                <Event function="HostMenu.MultiplayerShowAll_clicked" name="SelectStateChanged" />
38            </Window>
39        </Window>
40        <Window name="HostMenuStartButton" type="MenuWidgets/Button">
41            <Property name="Text" value="Start" />
42            <Property name="MaxSize" value="{{1,0},{1,0}}" />
43            <Property name="Area" value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
44            <Event function="HostMenu.HostMenuStartButton_clicked" name="Clicked" />
45        </Window>
46        <Window name="HostMenuBackButton" type="MenuWidgets/Button">
47            <Property name="Text" value="Back" />
48            <Property name="MaxSize" value="{{1,0},{1,0}}" />
49            <Property name="Area" value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
50            <Event function="HostMenu.HostMenuBackButton_clicked" name="Clicked" />
51        </Window>
52    </Window>
53</GUILayout>
Note: See TracBrowser for help on using the repository browser.