Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/AudioMenu.layout @ 6334

Last change on this file since 6334 was 6334, checked in by cmueri, 15 years ago

All the menus (inclusive InGameMenus) have an equal design, some menus have a larger window. They should be ready to presentate now.
BUG REPORT in KeyBindMenu: If there are >4 buttons in a row, the GUI doesn't show those correctly.

File size: 8.9 KB
RevLine 
[6206]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/StaticImage" Name="orxonox/AudioBackground" >
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="TaharezLook/StaticText" Name="orxonox/AudioWindow" >
11            <Property Name="Text" Value="Audio" />
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" />
[6334]17            <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.2875,0},{0.8,0},{0.6375,0}}" />
[6206]18            <Window Type="TaharezLook/StaticText" Name="orxonox/MasterVolume" >
[6233]19                <Property Name="Text" Value="Master volume               " />
[6206]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" />
[6334]24                <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.15,0},{0.5625,0},{0.3525,0}}" />
[6206]25                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MasterScrollbar" >
26                    <Property Name="PageSize" Value="0" />
27                    <Property Name="StepSize" Value="1" />
28                    <Property Name="OverlapSize" Value="0" />
29                    <Property Name="DocumentSize" Value="1" />
30                    <Property Name="ScrollPosition" Value="0" />
31                    <Property Name="StepSize" Value="0.1" />
32                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[6233]33                    <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
[6206]34                    <Event Name="ThumbTrackStarted" Function="AudioMenu.AudioMasterScrollbar_started" />
35                    <Event Name="ThumbTrackEnded" Function="AudioMenu.AudioMasterScrollbar_ended" />
36                    <Event Name="ScrollPosChanged" Function="AudioMenu.AudioMasterScrollbar_changed" />
37                </Window>
[6233]38                <Window Type="TaharezLook/Checkbox" Name="orxonox/MasterCheckbox" >
39                    <Property Name="Text" Value="Mute" />
40                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
41                    <Property Name="UnifiedAreaRect" Value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
42                    <Event Name="CheckStateChanged" Function="AudioMenu.AudioMuteMasterCheckbox_clicked"/>
43                </Window>
[6206]44            </Window>
45            <Window Type="TaharezLook/StaticText" Name="orxonox/MusicVolume" >
[6233]46                <Property Name="Text" Value="Music volume               " />
[6206]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" />
[6334]51                <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.4335,0},{0.5625,0},{0.636,0}}" />
[6206]52                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MusicScrollbar" >
53                    <Property Name="PageSize" Value="0" />
54                    <Property Name="StepSize" Value="1" />
55                    <Property Name="OverlapSize" Value="0" />
56                    <Property Name="DocumentSize" Value="1" />
57                    <Property Name="ScrollPosition" Value="0" />
58                    <Property Name="StepSize" Value="0.1" />
59                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[6233]60                    <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
[6206]61                    <Event Name="ThumbTrackStarted" Function="AudioMenu.AudioMusicScrollbar_started" />
62                    <Event Name="ThumbTrackEnded" Function="AudioMenu.AudioMusicScrollbar_ended" />
63                    <Event Name="ScrollPosChanged" Function="AudioMenu.AudioMusicScrollbar_changed" />
64                </Window>
[6233]65                <Window Type="TaharezLook/Checkbox" Name="orxonox/MusicCheckbox" >
66                    <Property Name="Text" Value="Mute" />
67                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
68                    <Property Name="UnifiedAreaRect" Value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
69                    <Event Name="CheckStateChanged" Function="AudioMenu.AudioMuteMusicCheckbox_clicked"/>
70                </Window>
[6206]71            </Window>
72            <Window Type="TaharezLook/StaticText" Name="orxonox/EffectsVolume" >
[6233]73                <Property Name="Text" Value="Effects volume               " />
[6206]74                <Property Name="InheritsAlpha" Value="False" />
75                <Property Name="HorzFormatting" Value="HorzCentred" />
76                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
77                <Property Name="VertFormatting" Value="TopAligned" />
[6334]78                <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.717,0},{0.5625,0},{0.9195,0}}" />
[6206]79                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/EffectsScrollbar" >
80                    <Property Name="PageSize" Value="0" />
81                    <Property Name="StepSize" Value="1" />
82                    <Property Name="OverlapSize" Value="0" />
83                    <Property Name="DocumentSize" Value="1" />
84                    <Property Name="ScrollPosition" Value="0" />
85                    <Property Name="StepSize" Value="0.1" />
86                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[6233]87                    <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
[6206]88                    <Event Name="ThumbTrackStarted" Function="AudioMenu.AudioEffectsScrollbar_started" />
89                    <Event Name="ThumbTrackEnded" Function="AudioMenu.AudioEffectsScrollbar_ended" />
90                    <Event Name="ScrollPosChanged" Function="AudioMenu.AudioEffectsScrollbar_changed" />
91                </Window>
[6233]92                <Window Type="TaharezLook/Checkbox" Name="orxonox/EffectsCheckbox" >
93                    <Property Name="Text" Value="Mute" />
94                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
95                    <Property Name="UnifiedAreaRect" Value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
96                    <Event Name="CheckStateChanged" Function="AudioMenu.AudioMuteEffectsCheckbox_clicked"/>
97                </Window>
[6206]98            </Window>
99            <Window Type="TaharezLook/StaticText" Name="orxonox/AudioTheme" >
100                <Property Name="Text" Value="Theme" />
101                <Property Name="InheritsAlpha" Value="False" />
102                <Property Name="HorzFormatting" Value="HorzCentred" />
103                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
104                <Property Name="VertFormatting" Value="TopAligned" />
[6334]105                <Property Name="UnifiedAreaRect" Value="{{0.604166,0},{0.15,0},{0.958333,0},{0.636,0}}" />
106                <Window Type="TaharezLook/Listbox" Name="orxonox/AudioThemeListbox" >
[6206]107                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[6334]108                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.225,0},{0.95,0},{0.92,0}}" />
109                    <Event Name="ItemSelectionChanged" Function="AudioMenu.AudioThemeListbox_changed" />
[6206]110                </Window>
111            </Window>
[6334]112            <Window Type="TaharezLook/StaticText" Name="orxonox/AudioInfo" >
113                <Property Name="Text" >Theme changes require
114a game restart.</Property>
115                <Property Name="TextColours" Value="FF4444FF" />
116                <Property Name="InheritsAlpha" Value="False" />
117                <Property Name="HorzFormatting" Value="HorzCentred" />
118                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
119                <Property Name="VertFormatting" Value="TopAligned" />
120                <Property Name="UnifiedAreaRect" Value="{{0.604166,0},{0.717,0},{0.958333,0},{0.9195,0}}" />
121            </Window>
[6206]122        </Window>
123        <Window Type="TaharezLook/Button" Name="orxonox/AudioBackButton" >
124            <Property Name="Text" Value="Back" />
125            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[6334]126            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
127            <Event Name="Clicked" Function="AudioMenu.AudioBackButton_clicked" />
[6206]128        </Window>
129    </Window>
130</GUILayout>
Note: See TracBrowser for help on using the repository browser.