Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/AudioMenu.layout @ 12106

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

fixed alignment

  • Property svn:eol-style set to native
File size: 8.4 KB
Line 
1<?xml version='1.0' encoding='utf-8'?>
2<GUILayout version="4">
3    <Window name="AudioBackground" 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="AudioWindow" type="MenuWidgets/StaticText">
10            <Property name="Text" value="Audio" />
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.2,0},{0.2875,0},{0.8,0},{0.6375,0}}" />
17            <Window name="MasterVolume" type="MenuWidgets/StaticText">
18                <Property name="Text" value="Master volume               " />
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.041666,0},{0.15,0},{0.5625,0},{0.3525,0}}" />
24                <Window name="MasterScrollbar" type="MenuWidgets/HorizontalScrollbar">
25                    <Property name="PageSize" value="0" />
26                    <Property name="StepSize" value="1" />
27                    <Property name="OverlapSize" value="0" />
28                    <Property name="DocumentSize" value="1" />
29                    <Property name="ScrollPosition" value="0" />
30                    <Property name="StepSize" value="0.1" />
31                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
32                    <Property name="Area" value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
33                    <Event function="AudioMenu.AudioMasterScrollbar_started" name="ThumbTrackStarted" />
34                    <Event function="AudioMenu.AudioMasterScrollbar_ended" name="ThumbTrackEnded" />
35                    <Event function="AudioMenu.AudioMasterScrollbar_changed" name="ScrollPositionChanged" />
36                </Window>
37                <Window name="MasterCheckbox" type="MenuWidgets/Checkbox">
38                    <Property name="Text" value="Mute" />
39                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
40                    <Property name="Area" value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
41                    <Event function="AudioMenu.AudioMuteMasterCheckbox_clicked" name="SelectStateChanged" />
42                </Window>
43            </Window>
44            <Window name="MusicVolume" type="MenuWidgets/StaticText">
45                <Property name="Text" value="Music volume               " />
46                <Property name="InheritsAlpha" value="False" />
47                <Property name="HorzFormatting" value="CentreAligned" />
48                <Property name="MaxSize" value="{{1,0},{1,0}}" />
49                <Property name="VertFormatting" value="TopAligned" />
50                <Property name="Area" value="{{0.041666,0},{0.4335,0},{0.5625,0},{0.636,0}}" />
51                <Window name="MusicScrollbar" type="MenuWidgets/HorizontalScrollbar">
52                    <Property name="PageSize" value="0" />
53                    <Property name="StepSize" value="1" />
54                    <Property name="OverlapSize" value="0" />
55                    <Property name="DocumentSize" value="1" />
56                    <Property name="ScrollPosition" value="0" />
57                    <Property name="StepSize" value="0.1" />
58                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
59                    <Property name="Area" value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
60                    <Event function="AudioMenu.AudioMusicScrollbar_started" name="ThumbTrackStarted" />
61                    <Event function="AudioMenu.AudioMusicScrollbar_ended" name="ThumbTrackEnded" />
62                    <Event function="AudioMenu.AudioMusicScrollbar_changed" name="ScrollPositionChanged" />
63                </Window>
64                <Window name="MusicCheckbox" type="MenuWidgets/Checkbox">
65                    <Property name="Text" value="Mute" />
66                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
67                    <Property name="Area" value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
68                    <Event function="AudioMenu.AudioMuteMusicCheckbox_clicked" name="SelectStateChanged" />
69                </Window>
70            </Window>
71            <Window name="EffectsVolume" type="MenuWidgets/StaticText">
72                <Property name="Text" value="Effects volume               " />
73                <Property name="InheritsAlpha" value="False" />
74                <Property name="HorzFormatting" value="CentreAligned" />
75                <Property name="MaxSize" value="{{1,0},{1,0}}" />
76                <Property name="VertFormatting" value="TopAligned" />
77                <Property name="Area" value="{{0.041666,0},{0.717,0},{0.5625,0},{0.9195,0}}" />
78                <Window name="EffectsScrollbar" type="MenuWidgets/HorizontalScrollbar">
79                    <Property name="PageSize" value="0" />
80                    <Property name="StepSize" value="1" />
81                    <Property name="OverlapSize" value="0" />
82                    <Property name="DocumentSize" value="1" />
83                    <Property name="ScrollPosition" value="0" />
84                    <Property name="StepSize" value="0.1" />
85                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
86                    <Property name="Area" value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
87                    <Event function="AudioMenu.AudioEffectsScrollbar_started" name="ThumbTrackStarted" />
88                    <Event function="AudioMenu.AudioEffectsScrollbar_ended" name="ThumbTrackEnded" />
89                    <Event function="AudioMenu.AudioEffectsScrollbar_changed" name="ScrollPositionChanged" />
90                </Window>
91                <Window name="EffectsCheckbox" type="MenuWidgets/Checkbox">
92                    <Property name="Text" value="Mute" />
93                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
94                    <Property name="Area" value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
95                    <Event function="AudioMenu.AudioMuteEffectsCheckbox_clicked" name="SelectStateChanged" />
96                </Window>
97            </Window>
98            <Window name="AudioTheme" type="MenuWidgets/StaticText">
99                <Property name="Text" value="Theme" />
100                <Property name="InheritsAlpha" value="False" />
101                <Property name="HorzFormatting" value="CentreAligned" />
102                <Property name="MaxSize" value="{{1,0},{1,0}}" />
103                <Property name="VertFormatting" value="TopAligned" />
104                <Property name="Area" value="{{0.604166,0},{0.15,0},{0.958333,0},{0.636,0}}" />
105                <Window name="AudioThemeListbox" type="MenuWidgets/Listbox">
106                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
107                    <Property name="Area" value="{{0.05,0},{0.225,0},{0.95,0},{0.92,0}}" />
108                    <Event function="AudioMenu.AudioThemeListbox_changed" name="SelectionChanged" />
109                </Window>
110            </Window>
111            <Window name="AudioInfo" type="MenuWidgets/StaticText">
112                <Property name="Text">Theme changes might take
113up to a minute.</Property>
114                <Property name="TextColours" value="FFFFFFFF" />
115                <Property name="InheritsAlpha" value="False" />
116                <Property name="HorzFormatting" value="CentreAligned" />
117                <Property name="MaxSize" value="{{1,0},{1,0}}" />
118                <Property name="VertFormatting" value="TopAligned" />
119                <Property name="Area" value="{{0.604166,0},{0.717,0},{0.958333,0},{0.9195,0}}" />
120            </Window>
121        </Window>
122        <Window name="AudioBackButton" type="MenuWidgets/Button">
123            <Property name="Text" value="Back" />
124            <Property name="MaxSize" value="{{1,0},{1,0}}" />
125            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
126            <Event function="AudioMenu.AudioBackButton_clicked" name="Clicked" />
127        </Window>
128    </Window>
129</GUILayout>
Note: See TracBrowser for help on using the repository browser.