1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | |
---|
3 | <GUILayout > |
---|
4 | <Window Type="MenuWidgets/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 | |
---|
11 | |
---|
12 | <Window Type="MenuWidgets/StaticText" Name="orxonox/MultiplayerWindow" > |
---|
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/MultiplayerListbox" > |
---|
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 | </Window> |
---|
26 | <!-- |
---|
27 | Die Radiobuttons brauchen wir nicht mehr, dafuer ihre Funktionen. |
---|
28 | Neue Buttons: |
---|
29 | >join< >host< |
---|
30 | |
---|
31 | |
---|
32 | <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerJoinButton" > |
---|
33 | <Property Name="Text" Value="Join" /> |
---|
34 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
35 | <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.85,0},{0.4,0},{0.95,0}}" /> |
---|
36 | <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerJoinButton_clicked"/> |
---|
37 | </Window> |
---|
38 | <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerHostButton" > |
---|
39 | <Property Name="Text" Value="Build Server"/> |
---|
40 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
41 | <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.85,0},{0.8,0},{0.95,0}}" /> |
---|
42 | <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerHostButton_clicked"/> |
---|
43 | </Window> |
---|
44 | <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerDedicatedButton" > |
---|
45 | <Property Name="Text" Value="Dedicated" /> |
---|
46 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
47 | <Property Name="UnifiedAreaRect" Value="{{0.7,0},{0.85,0},{0.9,0},{0.95,0}}" /> |
---|
48 | <Event Name="SelectStateChanged" Function="MultiplayerMenu.MultiplayerDedicatedButton_clicked"/> |
---|
49 | </Window> |
---|
50 | |
---|
51 | --> |
---|
52 | |
---|
53 | <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerBackButton" > |
---|
54 | <Property Name="Text" Value="Back" /> |
---|
55 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
56 | <Property Name="UnifiedAreaRect" Value="{{0.7125,0},{0.8625,0},{0.9125,0},{0.9125,0}}" /> |
---|
57 | <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerBackButton_clicked"/> |
---|
58 | </Window> |
---|
59 | |
---|
60 | <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerJoinButton2" > |
---|
61 | <Property Name="Text" Value="Join" /> |
---|
62 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
63 | <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" /> |
---|
64 | <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerJoinButton2_clicked"/> |
---|
65 | </Window> |
---|
66 | |
---|
67 | <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerHostButton2" > |
---|
68 | <Property Name="Text" Value="Host" /> |
---|
69 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
70 | <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" /> |
---|
71 | <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerHostButton2_clicked"/> |
---|
72 | </Window> |
---|
73 | |
---|
74 | <!-- |
---|
75 | |
---|
76 | <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerStartButton" > |
---|
77 | <Property Name="Text" Value="Start" /> |
---|
78 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
79 | <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" /> |
---|
80 | <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerStartButton_clicked"/> |
---|
81 | </Window> |
---|
82 | <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerBackButton" > |
---|
83 | <Property Name="Text" Value="Back" /> |
---|
84 | <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> |
---|
85 | <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" /> |
---|
86 | <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerBackButton_clicked"/> |
---|
87 | </Window> |
---|
88 | |
---|
89 | --> |
---|
90 | |
---|
91 | </Window> |
---|
92 | </GUILayout> |
---|
93 | |
---|