Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/MultiplayerMenu.layout @ 6362

Last change on this file since 6362 was 6334, checked in by cmueri, 15 years ago

All the menus (inclusive InGameMenus) have an equal design, some menus have a larger window. They should be ready to presentate now.
BUG REPORT in KeyBindMenu: If there are >4 buttons in a row, the GUI doesn't show those correctly.

File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/StaticImage" Name="orxonox/MultiplayerBackground" >
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="TaharezLook/StaticText" Name="orxonox/MultiplayerWindow" >
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.6375,0}}" />
18            <Window Type="TaharezLook/Listbox" Name="orxonox/MultiplayerLevelListbox" >
19                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
20                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.8,0}}" />
21            </Window>
22            <Window Type="TaharezLook/RadioButton" Name="orxonox/MultiplayerJoinButton" >
23                <Property Name="Text" Value="Join" />
24                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
25                <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.85,0},{0.3,0},{0.95,0}}" />
26                <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerJoinButton_clicked"/>
27            </Window>
28            <Window Type="TaharezLook/RadioButton" Name="orxonox/MultiplayerHostButton" >
29                <Property Name="Text" Value="Host" />
30                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
31                <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.85,0},{0.6,0},{0.95,0}}" />
32                <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerHostButton_clicked"/>
33            </Window>
34            <Window Type="TaharezLook/RadioButton" Name="orxonox/MultiplayerDedicatedButton" >
35                <Property Name="Text" Value="Dedicated" />
36                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37                <Property Name="UnifiedAreaRect" Value="{{0.7,0},{0.85,0},{0.9,0},{0.95,0}}" />
38                <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerDedicatedButton_clicked"/>
39            </Window>
40        </Window>
41        <Window Type="TaharezLook/Button" Name="orxonox/MultiplayerStartButton" >
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="MultiplayerMenu.MultiplayerStartButton_clicked"/>
46        </Window>
47        <Window Type="TaharezLook/Button" Name="orxonox/MultiplayerBackButton" >
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="MultiplayerMenu.MultiplayerBackButton_clicked"/>
52        </Window>
53    </Window>
54</GUILayout>
Note: See TracBrowser for help on using the repository browser.