Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/spacebomb/data/gui/layouts/MainMenu.layout @ 9287

Last change on this file since 9287 was 6746, checked in by rgrieder, 15 years ago

Merged gamestates2 branch back to trunk.
This brings in some heavy changes in the GUI framework.
It should also fix problems with triggered asserts in the InputManager.

Note: PickupInventory does not seem to work —> Segfault when showing because before, the owner in GUIOverlay::setGUIName is already NULL.
I haven't tested it before, so I can't tell whether it's my changes.

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/MainMenuBackground" >
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,0},{1.0,0}}" />
9        <Property Name="BackgroundEnabled" Value="False" />
10        <Window Type="MenuWidgets/Button" Name="orxonox/QuickGameTestButton" >
11            <Property Name="Text" Value="Quickstart" />
12            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
13            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.2875,0},{0.6,0},{0.3375,0}}" />
14            <Event Name="Clicked" Function="MainMenu.QuickGameTestButton_clicked"/>
15        </Window>
16        <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerButton" >
17            <Property Name="Text" Value="Singleplayer" />
18            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
19            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
20            <Event Name="Clicked" Function="MainMenu.SingleplayerButton_clicked"/>
21        </Window>
22        <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerButton" >
23            <Property Name="Text" Value="Multiplayer" />
24            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
25            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4375,0},{0.6,0},{0.4875,0}}" />
26            <Event Name="Clicked" Function="MainMenu.MultiplayerButton_clicked"/>
27        </Window>
28        <Window Type="MenuWidgets/Button" Name="orxonox/SettingsButton" >
29            <Property Name="Text" Value="Settings" />
30            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
31            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5125,0},{0.6,0},{0.5625,0}}" />
32            <Event Name="Clicked" Function="MainMenu.SettingsButton_clicked"/>
33        </Window>
34        <Window Type="MenuWidgets/Button" Name="orxonox/CreditsButton" >
35            <Property Name="Text" Value="Credits" />
36            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
37            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5875,0},{0.6,0},{0.6375,0}}" />
38            <Event Name="Clicked" Function="MainMenu.CreditsButton_clicked"/>
39        </Window>
40        <Window Type="MenuWidgets/Button" Name="orxonox/ExitButton" >
41            <Property Name="Text" Value="Exit" />
42            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
43            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
44            <Event Name="Clicked" Function="MainMenu.ExitButton_clicked"/>
45        </Window>
46    </Window>
47</GUILayout>
Note: See TracBrowser for help on using the repository browser.