Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cegui0.8_ogre1.9/data/gui/layouts/GameplayMenu.layout @ 12209

Last change on this file since 12209 was 11803, checked in by landauf, 7 years ago

fixed alignment

  • Property svn:eol-style set to native
File size: 4.1 KB
Line 
1<?xml version='1.0' encoding='utf-8'?>
2<GUILayout version="4">
3    <Window name="GameplayBackground" type="MenuWidgets/StaticImage">
4        <Property name="FrameEnabled" value="False" />
5        <Property name="InheritsAlpha" value="False" />
6        <Property name="MaxSize" value="{{1,0},{1,0}}" />
7        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
8        <Property name="BackgroundEnabled" value="False" />
9        <Window name="GameplayWindow" type="MenuWidgets/StaticText">
10            <Property name="Text" value="Gameplay" />
11            <Property name="Alpha" value="0.8" />
12            <Property name="InheritsAlpha" value="False" />
13            <Property name="HorzFormatting" value="CentreAligned" />
14            <Property name="MaxSize" value="{{1,0},{1,0}}" />
15            <Property name="VertFormatting" value="TopAligned" />
16            <Property name="Area" value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" />
17            <Window name="Difficulty" type="MenuWidgets/StaticText">
18                <Property name="Text" value="Difficulty" />
19                <Property name="InheritsAlpha" value="False" />
20                <Property name="HorzFormatting" value="CentreAligned" />
21                <Property name="MaxSize" value="{{1,0},{1,0}}" />
22                <Property name="VertFormatting" value="TopAligned" />
23                <Property name="Area" value="{{0.05,0},{0.2,0},{0.475,0},{0.9,0}}" />
24                <Window name="DifficultyEasyButton" type="MenuWidgets/RadioButton">
25                    <Property name="Text" value="Easy" />
26                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
27                    <Property name="Area" value="{{0.325,0},{0.325,0},{0.675,0},{0.45,0}}" />
28                    <Event function="GameplayMenu.GameplayDifficultyEasyButton_clicked" name="SelectStateChanged" />
29                </Window>
30                <Window name="DifficultyNormalButton" type="MenuWidgets/RadioButton">
31                    <Property name="Text" value="Normal" />
32                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
33                    <Property name="Area" value="{{0.325,0},{0.525,0},{0.675,0},{0.65,0}}" />
34                    <Event function="GameplayMenu.GameplayDifficultyNormalButton_clicked" name="SelectStateChanged" />
35                </Window>
36                <Window name="DifficultyHardButton" type="MenuWidgets/RadioButton">
37                    <Property name="Text" value="Hard" />
38                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
39                    <Property name="Area" value="{{0.325,0},{0.725,0},{0.675,0},{0.85,0}}" />
40                    <Event function="GameplayMenu.GameplayDifficultyHardButton_clicked" name="SelectStateChanged" />
41                </Window>
42            </Window>
43            <Window name="Theme" type="MenuWidgets/StaticText">
44                <Property name="Text" value="Theme" />
45                <Property name="InheritsAlpha" value="False" />
46                <Property name="HorzFormatting" value="CentreAligned" />
47                <Property name="MaxSize" value="{{1,0},{1,0}}" />
48                <Property name="VertFormatting" value="TopAligned" />
49                <Property name="Area" value="{{0.525,0},{0.2,0},{0.95,0},{0.9,0}}" />
50                <Window name="ThemeCombobox" type="MenuWidgets/Combobox">
51                    <Property name="AlwaysOnTop" value="True" />
52                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
53                    <Property name="Area" value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
54                    <Property name="ReadOnly" value="True" />
55                    <Event function="GameplayMenu.GameplayThemeCombobox_changed" name="ListSelectionAccepted" />
56                </Window>
57            </Window>
58        </Window>
59        <Window name="GameplayBackButton" type="MenuWidgets/Button">
60            <Property name="Text" value="Back" />
61            <Property name="MaxSize" value="{{1,0},{1,0}}" />
62            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
63            <Event function="GameplayMenu.GameplayBackButton_clicked" name="Clicked" />
64        </Window>
65    </Window>
66</GUILayout>
Note: See TracBrowser for help on using the repository browser.