Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hudimprovements/data/gui/layouts/GraphicsMenu.layout @ 8328

Last change on this file since 8328 was 7801, checked in by dafrick, 14 years ago

Merging presentation2 branch back to trunk.

  • Property svn:eol-style set to native
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/GraphicsBackground" >
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="MenuWidgets/StaticText" Name="orxonox/GraphicsWindow" >
11            <Property Name="Text" Value="Graphics" />
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" />
17            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2,0},{0.75,0},{0.6375,0}}" />
18            <Window Type="MenuWidgets/StaticText" Name="orxonox/Resolution" >
19                <Property Name="Text" Value="Resolution" />
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" />
24                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.10,0},{0.475,0},{0.65,0}}" />
25                <Window Type="MenuWidgets/Listbox" Name="orxonox/ResolutionListbox" >
26                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
27                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.95,0},{0.95,0}}" />
28                    <Event Name="ItemSelectionChanged" Function="GraphicsMenu.GraphicsResolutionListbox_changed"/>
29                </Window>
30            </Window>
31            <Window Type="MenuWidgets/StaticText" Name="orxonox/Themes" >
32                <Property Name="Text" Value="Themes" />
33                <Property Name="InheritsAlpha" Value="False" />
34                <Property Name="HorzFormatting" Value="HorzCentred" />
35                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
36                <Property Name="VertFormatting" Value="TopAligned" />
37                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.10,0},{0.95,0},{0.35,0}}" />
38                <Window Type="MenuWidgets/Listbox" Name="orxonox/ThemeDropBox" >
39                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
40                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.3,0},{0.95,0},{0.95,0}" />
41                    <Event Name="ItemSelectionChanged" Function="GraphicsMenu.ThemeDropBox_changed"/>
42                </Window>
43            </Window>
44            <Window Type="MenuWidgets/StaticText" Name="orxonox/Brightness" >
45                <Property Name="Text" Value="Brightness" />
46                <Property Name="InheritsAlpha" Value="False" />
47                <Property Name="HorzFormatting" Value="HorzCentred" />
48                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
49                <Property Name="VertFormatting" Value="TopAligned" />
50                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.70,0},{0.475,0},{0.85,0}}" />
51                <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/BrightnessScrollbar" >
52                    <Property Name="Disabled" Value="true" />
53                    <Property Name="PageSize" Value="0" />
54                    <Property Name="StepSize" Value="0.1" />
55                    <Property Name="OverlapSize" Value="0" />
56                    <Property Name="DocumentSize" Value="1" />
57                    <Property Name="ScrollPosition" Value="0" />
58                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
59                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.6,0},{0.95,0},{0.8,0}}" />
60                    <Event Name="ThumbTrackStarted" Function="GraphicsMenu.GraphicsBrightnessScrollbar_started" />
61                    <Event Name="ThumbTrackEnded" Function="GraphicsMenu.GraphicsBrightnessScrollbar_ended" />
62                    <Event Name="ScrollPosChanged" Function="GraphicsMenu.GraphicsBrightnessScrollbar_changed" />
63                </Window>
64            </Window>
65            <Window Type="MenuWidgets/Checkbox" Name="orxonox/FullscreenCheckbox" >
66                <Property Name="Text" Value="Fullscreen" />
67                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
68                <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.35,0},{0.85,0},{0.425,0}}" />
69                <Event Name="CheckStateChanged" Function="GraphicsMenu.GraphicsFullscreenCheckbox_clicked"/>
70            </Window>
71            <Window Type="MenuWidgets/StaticText" Name="orxonox/GraphicsInfo" >
72                <Property Name="Text" >
73Changes in graphics
74settings require
75a game restart.</Property>
76                <Property Name="TextColours" Value="FFFFFFFF" />
77                <Property Name="InheritsAlpha" Value="False" />
78                <Property Name="HorzFormatting" Value="HorzCentred" />
79                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
80                <Property Name="VertFormatting" Value="TopAligned" />
81                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.425,0},{0.95,0},{0.85,0}}" />
82            </Window>
83        </Window>
84        <Window Type="MenuWidgets/Button" Name="orxonox/GraphicsBackButton" >
85            <Property Name="Text" Value="Back" />
86            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
87            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
88            <Event Name="Clicked" Function="GraphicsMenu.GraphicsBackButton_clicked"/>
89        </Window>
90    </Window>
91</GUILayout>
Note: See TracBrowser for help on using the repository browser.