Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates2/data/gui/layouts/GameplayMenu.layout @ 6746

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

Merged remaining revisions from gamestate to gamestates2.

  • Property svn:eol-style set to native
File size: 4.4 KB
RevLine 
[6363]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
[6595]4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/GameplayBackground" >
[6363]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" />
[6595]10        <Window Type="MenuWidgets/StaticText" Name="orxonox/GameplayWindow" >
[6363]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}}" />
[6595]18            <Window Type="MenuWidgets/StaticText" Name="orxonox/Difficulty" >
[6363]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}}" />
[6595]25                <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyEasyButton" >
[6363]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>
[6595]31                <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyNormalButton" >
[6363]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>
[6595]37                <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyHardButton" >
[6363]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>
[6595]44            <Window Type="MenuWidgets/StaticText" Name="orxonox/Theme" >
[6363]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}}" />
[6595]51                <Window Type="MenuWidgets/Combobox" Name="orxonox/ThemeCombobox" >
[6363]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>
[6595]61        <Window Type="MenuWidgets/Button" Name="orxonox/GameplayBackButton" >
[6363]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.