Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/consolecommands/data/gui/layouts/MouseControlsMenu.layout @ 7047

Last change on this file since 7047 was 6251, checked in by cmueri, 15 years ago

The menu is now able to switch between normal and derive mouse input.

File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
4    <Window Type="TaharezLook/StaticImage" Name="orxonox/MouseControlsBackground" >
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/MouseControlsWindow" >
11            <Property Name="Text" Value="Mouse controls" />
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/MouseNormalSensitivity" >
19                <Property Name="Text" Value="Sensitivity (normal mode)                                      " />
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.95,0},{0.45,0}}" />
25                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MouseNormalScrollbar" >
26                    <Property Name="PageSize" Value="0" />
27                    <Property Name="StepSize" Value="1" />
28                    <Property Name="OverlapSize" Value="0" />
29                    <Property Name="DocumentSize" Value="1" />
30                    <Property Name="ScrollPosition" Value="0" />
31                    <Property Name="StepSize" Value="0.1" />
32                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
33                    <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
34                    <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_started" />
35                    <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_ended" />
36                    <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_changed" />
37                </Window>
38                <Window Type="TaharezLook/RadioButton" Name="orxonox/MouseNormalButton" >
39                    <Property Name="Text" Value="Normal mouse input" />
40                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
41                    <Property Name="UnifiedAreaRect" Value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
42                    <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseNormalButton_clicked" />
43                </Window>
44            </Window>
45            <Window Type="TaharezLook/StaticText" Name="orxonox/MouseDeriveSensitivity" >
46                <Property Name="Text" Value="Sensitivity (derive mode)                                      " />
47                <Property Name="InheritsAlpha" Value="False" />
48                <Property Name="HorzFormatting" Value="HorzCentred" />
49                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
50                <Property Name="VertFormatting" Value="TopAligned" />
51                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" />
52                <Window Type="TaharezLook/HorizontalScrollbar" Name="orxonox/MouseDeriveScrollbar" >
53                    <Property Name="PageSize" Value="0" />
54                    <Property Name="StepSize" Value="1" />
55                    <Property Name="OverlapSize" Value="0" />
56                    <Property Name="DocumentSize" Value="1" />
57                    <Property Name="ScrollPosition" Value="0" />
58                    <Property Name="StepSize" Value="0.1" />
59                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
60                    <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
61                    <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_started" />
62                    <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_ended" />
63                    <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_changed" />
64                </Window>
65                <Window Type="TaharezLook/RadioButton" Name="orxonox/MouseDeriveButton" >
66                    <Property Name="Text" Value="Derive mouse input" />
67                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
68                    <Property Name="UnifiedAreaRect" Value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
69                    <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseDeriveButton_clicked" />
70                </Window>
71            </Window>
72            <Window Type="TaharezLook/Checkbox" Name="orxonox/MouseInvertCheckbox" >
73                <Property Name="Text" Value="Invert mouse" />
74                <Property Name="Disabled" Value="true" />
75                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
76                <Property Name="UnifiedAreaRect" Value="{{0.39,0},{0.85,0},{0.61,0},{0.95,0}}" />
77                <Event Name="CheckStateChanged" Function="MouseControlsMenu.MouseInvertCheckbox_clicked" />
78            </Window>
79        </Window>
80        <Window Type="TaharezLook/Button" Name="orxonox/MouseControlsBackButton" >
81            <Property Name="Text" Value="Back" />
82            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
83            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" />
84            <Event Name="Clicked" Function="MouseControlsMenu.MouseControlsBackButton_clicked"/>
85        </Window>
86        <Window Type="TaharezLook/StaticText" Name="orxonox/MouseControlsAvailable" >
87            <Property Name="Text" Value="The invert mouse button is not yet available." />
88            <Property Name="TextColours" Value="FFFF0000" />
89            <Property Name="InheritsAlpha" Value="False" />
90            <Property Name="HorzFormatting" Value="HorzCentred" />
91            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
92            <Property Name="VertFormatting" Value="TopAligned" />
93            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.75,0},{0.75,0},{0.8,0}}" />
94        </Window>
95    </Window>
96</GUILayout>
Note: See TracBrowser for help on using the repository browser.