Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menu/data/gui/layouts/NewGraphicsMenu.layout @ 6330

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

10 new layout- and lua-files for the menues added

  • Property svn:executable set to *
File size: 4.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/StaticImage" Name="orxonox/GraphicsBackground" >
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/GraphicsWindow" >
12            <Property Name="Text" Value="Graphics" />
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/Resolution" >
20                <Property Name="Text" Value="Resolution" />
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.475,0},{0.9,0}}" />
26                <Window Type="TaharezLook/Combobox" Name="orxonox/ResolutionCombobox" >
27                    <Property Name="ReadOnly" Value="True" />
28                    <Property Name="AlwaysOnTop" Value="True" />
29                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
30                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
31                    <Property Name="MaxEditTextLength" Value="1073741823" />
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="NewGraphicsMenu.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="ScrollPosChanged" Function="NewGraphicsMenu.GraphicsBrightnessScrollbar_clicked" />
56                </Window>
57            </Window>
58            <Window Type="TaharezLook/StaticText" Name="orxonox/GraphicsInfo" >
59                <Property Name="Text" >Changes in graphics
60settings require
61a game restart.</Property>
62                <Property Name="TextColours" Value="FF4444FF" />
63                <Property Name="InheritsAlpha" Value="False" />
64                <Property Name="HorzFormatting" Value="HorzCentred" />
65                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
66                <Property Name="VertFormatting" Value="TopAligned" />
67                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.55,0},{0.95,0},{0.9,0}}" />
68            </Window>
69        </Window>
70        <Window Type="TaharezLook/Button" Name="orxonox/GraphicsBackButton" >
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="NewGraphicsMenu.GraphicsBackButton_clicked"/>
75        </Window>
76    </Window>
77</GUILayout>
Note: See TracBrowser for help on using the repository browser.