Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/NewGameplayMenu.layout @ 6168

Last change on this file since 6168 was 6150, checked in by scheusso, 15 years ago

merged menu branch to presentation2 branch with some additional fixes and features ;)

  • Property svn:executable set to *
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/StaticImage" Name="orxonox/GameplayBackground" >
5        <Property Name="Image" Value="set:MainMenuBackground image:Background" />
6        <Property Name="FrameEnabled" Value="False" />
7        <Property Name="InheritsAlpha" Value="False" />
8        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
9        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
10        <Property Name="BackgroundEnabled" Value="False" />
11        <Window Type="TaharezLook/StaticText" Name="orxonox/GameplayWindow" >
12            <Property Name="Text" Value="Gameplay" />
13            <Property Name="Alpha" Value="0.8" />
14            <Property Name="InheritsAlpha" Value="False" />
15            <Property Name="HorzFormatting" Value="HorzCentred" />
16            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
17            <Property Name="VertFormatting" Value="TopAligned" />
18            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.325,0},{0.75,0},{0.6,0}}" />
19            <Window Type="TaharezLook/StaticText" Name="orxonox/Difficulty" >
20                <Property Name="Text" Value="Difficulty" />
21                <Property Name="InheritsAlpha" Value="False" />
22                <Property Name="HorzFormatting" Value="HorzCentred" />
23                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
24                <Property Name="VertFormatting" Value="TopAligned" />
25                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.475,0},{0.9,0}}" />
26                <Window Type="TaharezLook/RadioButton" Name="orxonox/DifficultyEasyButton" >
27                    <Property Name="Text" Value="Easy" />
28                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29                    <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.325,0},{0.675,0},{0.45,0}}" />
30                    <Event Name="SelectStateChanged" Function="NewGameplayMenu.GameplayDifficultyEasyButton_clicked"/>
31                </Window>
32                <Window Type="TaharezLook/RadioButton" Name="orxonox/DifficultyNormalButton" >
33                    <Property Name="Text" Value="Normal" />
34                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
35                    <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.525,0},{0.675,0},{0.65,0}}" />
36                    <Event Name="SelectStateChanged" Function="NewGameplayMenu.GameplayDifficultyNormalButton_clicked"/>
37                </Window>
38                <Window Type="TaharezLook/RadioButton" Name="orxonox/DifficultyHardButton" >
39                    <Property Name="Text" Value="Hard" />
40                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
41                    <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.725,0},{0.675,0},{0.85,0}}" />
42                    <Event Name="SelectStateChanged" Function="NewGameplayMenu.GameplayDifficultyHardButton_clicked"/>
43                </Window>
44            </Window>
45            <Window Type="TaharezLook/StaticText" Name="orxonox/Theme" >
46                <Property Name="Text" Value="Theme" />
47                <Property Name="InheritsAlpha" Value="False" />
48                <Property Name="HorzFormatting" Value="HorzCentred" />
49                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
50                <Property Name="VertFormatting" Value="TopAligned" />
51                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.2,0},{0.95,0},{0.9,0}}" />
52                <Window Type="TaharezLook/Combobox" Name="orxonox/ThemeCombobox" >
53                    <Property Name="AlwaysOnTop" Value="True" />
54                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
55                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
56                    <Property Name="MaxEditTextLength" Value="1073741823" />
57                    <Property Name="ReadOnly" Value="True" />
58                </Window>
59            </Window>
60        </Window>
61        <Window Type="TaharezLook/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.625,0},{0.6,0},{0.675,0}}" />
65            <Event Name="Clicked" Function="NewGameplayMenu.GameplayBackButton_clicked"/>
66        </Window>
67    </Window>
68</GUILayout>
Note: See TracBrowser for help on using the repository browser.