Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/HUD_HS16/data/gui/layouts/GameplayMenu.layout @ 12073

Last change on this file since 12073 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: 4.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/GameplayBackground" >
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/GameplayWindow" >
11            <Property Name="Text" Value="Gameplay" />
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.3625,0},{0.75,0},{0.6375,0}}" />
18            <Window Type="MenuWidgets/StaticText" Name="orxonox/Difficulty" >
19                <Property Name="Text" Value="Difficulty" />
20                <Property Name="InheritsAlpha" Value="False" />
21                <Property Name="HorzFormatting" Value="HorzCentred" />
22                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
23                <Property Name="VertFormatting" Value="TopAligned" />
24                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.475,0},{0.9,0}}" />
25                <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyEasyButton" >
26                    <Property Name="Text" Value="Easy" />
27                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
28                    <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.325,0},{0.675,0},{0.45,0}}" />
29                    <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyEasyButton_clicked"/>
30                </Window>
31                <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyNormalButton" >
32                    <Property Name="Text" Value="Normal" />
33                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
34                    <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.525,0},{0.675,0},{0.65,0}}" />
35                    <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyNormalButton_clicked"/>
36                </Window>
37                <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyHardButton" >
38                    <Property Name="Text" Value="Hard" />
39                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
40                    <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.725,0},{0.675,0},{0.85,0}}" />
41                    <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyHardButton_clicked"/>
42                </Window>
43            </Window>
44            <Window Type="MenuWidgets/StaticText" Name="orxonox/Theme" >
45                <Property Name="Text" Value="Theme" />
46                <Property Name="InheritsAlpha" Value="False" />
47                <Property Name="HorzFormatting" Value="HorzCentred" />
48                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
49                <Property Name="VertFormatting" Value="TopAligned" />
50                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.2,0},{0.95,0},{0.9,0}}" />
51                <Window Type="MenuWidgets/Combobox" Name="orxonox/ThemeCombobox" >
52                    <Property Name="AlwaysOnTop" Value="True" />
53                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
54                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
55                    <Property Name="MaxEditTextLength" Value="1073741823" />
56                    <Property Name="ReadOnly" Value="True" />
57                    <Event Name="ListSelectionAccepted" Function="GameplayMenu.GameplayThemeCombobox_changed" />
58                </Window>
59            </Window>
60        </Window>
61        <Window Type="MenuWidgets/Button" Name="orxonox/GameplayBackButton" >
62            <Property Name="Text" Value="Back" />
63            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
64            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
65            <Event Name="Clicked" Function="GameplayMenu.GameplayBackButton_clicked"/>
66        </Window>
67    </Window>
68</GUILayout>
Note: See TracBrowser for help on using the repository browser.