Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Boxhead_FS19/data/gui/layouts/MouseControlsMenu.layout @ 12334

Last change on this file since 12334 was 11803, checked in by landauf, 7 years ago

fixed alignment

  • Property svn:eol-style set to native
File size: 5.8 KB
Line 
1<?xml version='1.0' encoding='utf-8'?>
2<GUILayout version="4">
3    <Window name="MouseControlsBackground" type="MenuWidgets/StaticImage">
4        <Property name="FrameEnabled" value="False" />
5        <Property name="InheritsAlpha" value="False" />
6        <Property name="MaxSize" value="{{1,0},{1,0}}" />
7        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
8        <Property name="BackgroundEnabled" value="False" />
9        <Window name="MouseControlsWindow" type="MenuWidgets/StaticText">
10            <Property name="Text" value="Mouse controls" />
11            <Property name="Alpha" value="0.8" />
12            <Property name="InheritsAlpha" value="False" />
13            <Property name="HorzFormatting" value="CentreAligned" />
14            <Property name="MaxSize" value="{{1,0},{1,0}}" />
15            <Property name="VertFormatting" value="TopAligned" />
16            <Property name="Area" value="{{0.25,0},{0.3625,0},{0.75,0},{0.6375,0}}" />
17            <Window name="MouseNormalSensitivity" type="MenuWidgets/StaticText">
18                <Property name="Text" value="Sensitivity (normal mode)                                      " />
19                <Property name="InheritsAlpha" value="False" />
20                <Property name="HorzFormatting" value="CentreAligned" />
21                <Property name="MaxSize" value="{{1,0},{1,0}}" />
22                <Property name="VertFormatting" value="TopAligned" />
23                <Property name="Area" value="{{0.05,0},{0.2,0},{0.95,0},{0.45,0}}" />
24                <Window name="MouseNormalScrollbar" type="MenuWidgets/HorizontalScrollbar">
25                    <Property name="PageSize" value="0" />
26                    <Property name="StepSize" value="1" />
27                    <Property name="OverlapSize" value="0" />
28                    <Property name="DocumentSize" value="1" />
29                    <Property name="ScrollPosition" value="0" />
30                    <Property name="StepSize" value="0.1" />
31                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
32                    <Property name="Area" value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
33                    <Event function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_started" name="ThumbTrackStarted" />
34                    <Event function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_ended" name="ThumbTrackEnded" />
35                    <Event function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_changed" name="ScrollPositionChanged" />
36                </Window>
37                <Window name="MouseNormalButton" type="MenuWidgets/RadioButton">
38                    <Property name="Text" value="Normal mouse input" />
39                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
40                    <Property name="Area" value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
41                    <Event function="MouseControlsMenu.MouseNormalButton_clicked" name="SelectStateChanged" />
42                </Window>
43            </Window>
44            <Window name="MouseDeriveSensitivity" type="MenuWidgets/StaticText">
45                <Property name="Text" value="Sensitivity (derive mode)                                      " />
46                <Property name="InheritsAlpha" value="False" />
47                <Property name="HorzFormatting" value="CentreAligned" />
48                <Property name="MaxSize" value="{{1,0},{1,0}}" />
49                <Property name="VertFormatting" value="TopAligned" />
50                <Property name="Area" value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" />
51                <Window name="MouseDeriveScrollbar" type="MenuWidgets/HorizontalScrollbar">
52                    <Property name="PageSize" value="0" />
53                    <Property name="StepSize" value="1" />
54                    <Property name="OverlapSize" value="0" />
55                    <Property name="DocumentSize" value="1" />
56                    <Property name="ScrollPosition" value="0" />
57                    <Property name="StepSize" value="0.1" />
58                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
59                    <Property name="Area" value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
60                    <Event function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_started" name="ThumbTrackStarted" />
61                    <Event function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_ended" name="ThumbTrackEnded" />
62                    <Event function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_changed" name="ScrollPositionChanged" />
63                </Window>
64                <Window name="MouseDeriveButton" type="MenuWidgets/RadioButton">
65                    <Property name="Text" value="Derive mouse input" />
66                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
67                    <Property name="Area" value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
68                    <Event function="MouseControlsMenu.MouseDeriveButton_clicked" name="SelectStateChanged" />
69                </Window>
70            </Window>
71            <Window name="MouseInvertCheckbox" type="MenuWidgets/Checkbox">
72                <Property name="Text" value="Invert mouse" />
73                <Property name="Disabled" value="true" />
74                <Property name="MaxSize" value="{{1,0},{1,0}}" />
75                <Property name="Area" value="{{0.39,0},{0.85,0},{0.61,0},{0.95,0}}" />
76                <Event function="MouseControlsMenu.MouseInvertCheckbox_clicked" name="SelectStateChanged" />
77            </Window>
78        </Window>
79        <Window name="MouseControlsBackButton" type="MenuWidgets/Button">
80            <Property name="Text" value="Back" />
81            <Property name="MaxSize" value="{{1,0},{1,0}}" />
82            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
83            <Event function="MouseControlsMenu.MouseControlsBackButton_clicked" name="Clicked" />
84        </Window>
85    </Window>
86</GUILayout>
Note: See TracBrowser for help on using the repository browser.