Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/ControlsMenu.layout @ 9779

Last change on this file since 9779 was 6746, checked in by rgrieder, 15 years ago

Merged gamestates2 branch back to trunk.
This brings in some heavy changes in the GUI framework.
It should also fix problems with triggered asserts in the InputManager.

Note: PickupInventory does not seem to work —> Segfault when showing because before, the owner in GUIOverlay::setGUIName is already NULL.
I haven't tested it before, so I can't tell whether it's my changes.

  • Property svn:eol-style set to native
File size: 2.3 KB
RevLine 
[6363]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
[6746]4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/ControlsBackground" >
[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/ControlsWindow" >
[6363]11            <Property Name="Text" Value="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.3625,0},{0.75,0},{0.6375,0}}" />
[6746]18            <Window Type="MenuWidgets/Button" Name="orxonox/MouseControlsButton" >
[6363]19                <Property Name="Text" Value="Mouse controls" />
20                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
21                <Property Name="UnifiedAreaRect" Value="{{0.3,0},{0.318181,0},{0.7,0},{0.5,0}}" />
22                <Event Name="Clicked" Function="ControlsMenu.ControlsMouseControlsButton_clicked"/>
23            </Window>
[6746]24            <Window Type="MenuWidgets/Button" Name="orxonox/KeybindingsButton" >
[6363]25                <Property Name="Text" Value="Keybindings" />
26                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
27                <Property Name="UnifiedAreaRect" Value="{{0.3,0},{0.590909,0},{0.7,0},{0.772727,0}}" />
28                <Event Name="Clicked" Function="ControlsMenu.ControlsKeyboardControlsButton_clicked"/>
29            </Window>
30        </Window>
[6746]31        <Window Type="MenuWidgets/Button" Name="orxonox/ControlsBackButton" >
[6363]32            <Property Name="Text" Value="Back" />
33            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
34            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
35            <Event Name="Clicked" Function="ControlsMenu.ControlsBackButton_clicked"/>
36        </Window>
37    </Window>
38</GUILayout>
Note: See TracBrowser for help on using the repository browser.