Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/gui/layouts/GraphicsMenu.layout @ 6231

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

The new menus (but not all functions of the menu) are now available.

File size: 5.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/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="TaharezLook/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.325,0},{0.75,0},{0.6,0}}" />
18            <Window Type="TaharezLook/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.2,0},{0.475,0},{0.9,0}}" />
25                <Window Type="TaharezLook/Combobox" Name="orxonox/ResolutionCombobox" >
26                    <Property Name="ReadOnly" Value="True" />
27                    <Property Name="AlwaysOnTop" Value="True" />
28                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
29                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
30                    <Property Name="MaxEditTextLength" Value="1073741823" />
31                    <Event Name="ListSelectionAccepted" Function="GraphicsMenu.GraphicsResolutionCombobox_changed"/>
32                </Window>
33                <Window Type="TaharezLook/Checkbox" Name="orxonox/FullscreenCheckbox" >
34                    <Property Name="Text" Value="Fullscreen" />
35                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
36                    <Property Name="UnifiedAreaRect" Value="{{0.275,0},{0.725,0},{0.725,0},{0.85,0}}" />
37                    <Event Name="CheckStateChanged" Function="GraphicsMenu.GraphicsFullscreenCheckbox_clicked"/>
38                </Window>
39            </Window>
40            <Window Type="TaharezLook/StaticText" Name="orxonox/Brightness" >
41                <Property Name="Text" Value="Brightness" />
42                <Property Name="InheritsAlpha" Value="False" />
43                <Property Name="HorzFormatting" Value="HorzCentred" />
44                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
45                <Property Name="VertFormatting" Value="TopAligned" />
46                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.2,0},{0.95,0},{0.45,0}}" />
47                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/BrightnessScrollbar" >
48                    <Property Name="PageSize" Value="0" />
49                    <Property Name="StepSize" Value="0.1" />
50                    <Property Name="OverlapSize" Value="0" />
51                    <Property Name="DocumentSize" Value="1" />
52                    <Property Name="ScrollPosition" Value="0" />
53                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
54                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.6,0},{0.95,0},{0.8,0}}" />
55                    <Event Name="ThumbTrackStarted" Function="GraphicsMenu.GraphicsBrightnessScrollbar_started" />
56                    <Event Name="ThumbTrackEnded" Function="GraphicsMenu.GraphicsBrightnessScrollbar_ended" />
57                    <Event Name="ScrollPosChanged" Function="GraphicsMenu.GraphicsBrightnessScrollbar_changed" />
58                </Window>
59            </Window>
60            <Window Type="TaharezLook/StaticText" Name="orxonox/GraphicsInfo" >
61                <Property Name="Text" >Changes in graphics
62settings require
63a game restart.</Property>
64                <Property Name="TextColours" Value="FF4444FF" />
65                <Property Name="InheritsAlpha" Value="False" />
66                <Property Name="HorzFormatting" Value="HorzCentred" />
67                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
68                <Property Name="VertFormatting" Value="TopAligned" />
69                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.55,0},{0.95,0},{0.9,0}}" />
70            </Window>
71        </Window>
72        <Window Type="TaharezLook/Button" Name="orxonox/GraphicsBackButton" >
73            <Property Name="Text" Value="Back" />
74            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
75            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" />
76            <Event Name="Clicked" Function="GraphicsMenu.GraphicsBackButton_clicked"/>
77        </Window>
78        <Window Type="TaharezLook/StaticText" Name="orxonox/GraphicsAvailable" >
79            <Property Name="Text" Value="Changes in graphics settings are not yet available." />
80            <Property Name="TextColours" Value="FFFF0000" />
81            <Property Name="InheritsAlpha" Value="False" />
82            <Property Name="HorzFormatting" Value="HorzCentred" />
83            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
84            <Property Name="VertFormatting" Value="TopAligned" />
85            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.75,0},{0.75,0},{0.8,0}}" />
86        </Window>
87    </Window>
88</GUILayout>
Note: See TracBrowser for help on using the repository browser.