Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/NewAudioMenu.layout @ 6196

Last change on this file since 6196 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.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/StaticImage" Name="orxonox/AudioBackground" >
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/AudioWindow" >
12            <Property Name="Text" Value="Audio" />
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/MusicVolume" >
20                <Property Name="Text" Value="Music volume" />
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.95,0},{0.45,0}}" />
26                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MusicScrollbar" >
27                    <Property Name="PageSize" Value="0" />
28                    <Property Name="StepSize" Value="1" />
29                    <Property Name="OverlapSize" Value="0" />
30                    <Property Name="DocumentSize" Value="1" />
31                    <Property Name="ScrollPosition" Value="0" />
32                    <Property Name="StepSize" Value="0.1" />
33                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
34                    <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.98,0},{0.8,0}}" />
35                    <Event Name="ScrollPosChanged" Function="NewAudioMenu.AudioMusicScrollbar_clicked"/>
36                </Window>
37            </Window>
38            <Window Type="TaharezLook/StaticText" Name="orxonox/SoundVolume" >
39                <Property Name="Text" Value="Sound volume" />
40                <Property Name="InheritsAlpha" Value="False" />
41                <Property Name="HorzFormatting" Value="HorzCentred" />
42                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
43                <Property Name="VertFormatting" Value="TopAligned" />
44                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" />
45                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/SoundScrollbar" >
46                    <Property Name="PageSize" Value="0" />
47                    <Property Name="StepSize" Value="1" />
48                    <Property Name="OverlapSize" Value="0" />
49                    <Property Name="DocumentSize" Value="1" />
50                    <Property Name="ScrollPosition" Value="0" />
51                    <Property Name="StepSize" Value="0.1" />
52                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
53                    <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.98,0},{0.8,0}}" />
54                    <Event Name="ScrollPosChanged" Function="NewAudioMenu.AudioSoundScrollbar_clicked"/>
55                </Window>
56            </Window>
57            <Window Type="TaharezLook/Checkbox" Name="orxonox/MusicCheckbox" >
58                <Property Name="Text" Value="Mute music" />
59                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
60                <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.85,0},{0.45,0},{0.95,0}}" />
61                <Event Name="CheckStateChanged" Function="NewAudioMenu.AudioMuteMusicCheckbox_clicked"/>
62            </Window>
63            <Window Type="TaharezLook/Checkbox" Name="orxonox/SoundCheckbox" >
64                <Property Name="Text" Value="Mute sound" />
65                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
66                <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.85,0},{0.85,0},{0.95,0}}" />
67                <Event Name="CheckStateChanged" Function="NewAudioMenu.AudioMuteSoundCheckbox_clicked"/>
68            </Window>
69        </Window>
70        <Window Type="TaharezLook/Button" Name="orxonox/AudioBackButton" >
71            <Property Name="Text" Value="Back" />
72            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
73            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" />
74            <Event Name="Clicked" Function="NewAudioMenu.AudioBackButton_clicked"/>
75        </Window>
76    </Window>
77</GUILayout>
Note: See TracBrowser for help on using the repository browser.