Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/consolecommands/data/gui/layouts/GraphicsMenu.layout @ 6554

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

New layout of the keybind menu.

File size: 5.6 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.25,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.15,0},{0.475,0},{0.92,0}}" />
25                <Window Type="TaharezLook/Listbox" Name="orxonox/ResolutionListbox" >
26                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
27                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
28                    <Event Name="ItemSelectionChanged" Function="GraphicsMenu.GraphicsResolutionListbox_changed"/>
29                </Window>
30            </Window>
31            <Window Type="TaharezLook/StaticText" Name="orxonox/Brightness" >
32                <Property Name="Text" Value="Brightness" />
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.15,0},{0.95,0},{0.35,0}}" />
38                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/BrightnessScrollbar" >
39                    <Property Name="Disabled" Value="true" />
40                    <Property Name="PageSize" Value="0" />
41                    <Property Name="StepSize" Value="0.1" />
42                    <Property Name="OverlapSize" Value="0" />
43                    <Property Name="DocumentSize" Value="1" />
44                    <Property Name="ScrollPosition" Value="0" />
45                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
46                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.6,0},{0.95,0},{0.8,0}}" />
47                    <Event Name="ThumbTrackStarted" Function="GraphicsMenu.GraphicsBrightnessScrollbar_started" />
48                    <Event Name="ThumbTrackEnded" Function="GraphicsMenu.GraphicsBrightnessScrollbar_ended" />
49                    <Event Name="ScrollPosChanged" Function="GraphicsMenu.GraphicsBrightnessScrollbar_changed" />
50                </Window>
51            </Window>
52            <Window Type="TaharezLook/Checkbox" Name="orxonox/FullscreenCheckbox" >
53                <Property Name="Text" Value="Fullscreen" />
54                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
55                <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.4,0},{0.85,0},{0.475,0}}" />
56                <Event Name="CheckStateChanged" Function="GraphicsMenu.GraphicsFullscreenCheckbox_clicked"/>
57            </Window>
58            <Window Type="TaharezLook/StaticText" Name="orxonox/GraphicsInfo" >
59                <Property Name="Text" >
60Changes in graphics
61settings require
62a game restart.</Property>
63                <Property Name="TextColours" Value="FF4444FF" />
64                <Property Name="InheritsAlpha" Value="False" />
65                <Property Name="HorzFormatting" Value="HorzCentred" />
66                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
67                <Property Name="VertFormatting" Value="TopAligned" />
68                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.525,0},{0.95,0},{0.92,0}}" />
69            </Window>
70        </Window>
71        <Window Type="TaharezLook/Button" Name="orxonox/GraphicsBackButton" >
72            <Property Name="Text" Value="Back" />
73            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
74            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" />
75            <Event Name="Clicked" Function="GraphicsMenu.GraphicsBackButton_clicked"/>
76        </Window>
77        <Window Type="TaharezLook/StaticText" Name="orxonox/GraphicsAvailable" >
78            <Property Name="Text" Value="The brightness scrollbar is not yet available." />
79            <Property Name="TextColours" Value="FFFF0000" />
80            <Property Name="InheritsAlpha" Value="False" />
81            <Property Name="HorzFormatting" Value="HorzCentred" />
82            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
83            <Property Name="VertFormatting" Value="TopAligned" />
84            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.75,0},{0.75,0},{0.8,0}}" />
85        </Window>
86    </Window>
87</GUILayout>
Note: See TracBrowser for help on using the repository browser.