Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/GraphicsMenu.layout @ 8011

Last change on this file since 8011 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
RevLine 
[6363]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
[6746]4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/GraphicsBackground" >
[6363]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" />
[6746]10        <Window Type="MenuWidgets/StaticText" Name="orxonox/GraphicsWindow" >
[6363]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" />
[7801]17            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2,0},{0.75,0},{0.6375,0}}" />
[6746]18            <Window Type="MenuWidgets/StaticText" Name="orxonox/Resolution" >
[6363]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" />
[7801]24                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.10,0},{0.475,0},{0.65,0}}" />
[6746]25                <Window Type="MenuWidgets/Listbox" Name="orxonox/ResolutionListbox" >
[6363]26                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[7801]27                    <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.95,0},{0.95,0}}" />
[6363]28                    <Event Name="ItemSelectionChanged" Function="GraphicsMenu.GraphicsResolutionListbox_changed"/>
29                </Window>
30            </Window>
[7801]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>
[6746]44            <Window Type="MenuWidgets/StaticText" Name="orxonox/Brightness" >
[6363]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" />
[7801]50                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.70,0},{0.475,0},{0.85,0}}" />
[6746]51                <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/BrightnessScrollbar" >
[6363]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>
[6746]65            <Window Type="MenuWidgets/Checkbox" Name="orxonox/FullscreenCheckbox" >
[6363]66                <Property Name="Text" Value="Fullscreen" />
67                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[7801]68                <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.35,0},{0.85,0},{0.425,0}}" />
[6363]69                <Event Name="CheckStateChanged" Function="GraphicsMenu.GraphicsFullscreenCheckbox_clicked"/>
70            </Window>
[6746]71            <Window Type="MenuWidgets/StaticText" Name="orxonox/GraphicsInfo" >
[6363]72                <Property Name="Text" >
73Changes in graphics
74settings require
75a game restart.</Property>
[7801]76                <Property Name="TextColours" Value="FFFFFFFF" />
[6363]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" />
[7801]81                <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.425,0},{0.95,0},{0.85,0}}" />
[6363]82            </Window>
83        </Window>
[6746]84        <Window Type="MenuWidgets/Button" Name="orxonox/GraphicsBackButton" >
[6363]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.