Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 16, 2016, 10:10:43 PM (9 years ago)
Author:
bknecht
Message:

initial commit to get orxonox to find and compile and start with cegui0.8. doesn't work yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8/data/gui/layouts/ControlsMenu.layout

    r6746 r11118  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/ControlsBackground" >
    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="MenuWidgets/StaticText" Name="orxonox/ControlsWindow" >
    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}}" />
    18             <Window Type="MenuWidgets/Button" Name="orxonox/MouseControlsButton" >
    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"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="ControlsBackground" 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="ControlsWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Controls" />
     11            <Property name="Alpha" value="0.8" />
     12            <Property name="InheritsAlpha" value="False" />
     13            <Property name="HorzFormatting" value="HorzCentred" />
     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="MouseControlsButton" type="MenuWidgets/Button">
     18                <Property name="Text" value="Mouse controls" />
     19                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     20                <Property name="Area" value="{{0.3,0},{0.318181,0},{0.7,0},{0.5,0}}" />
     21                <Event function="ControlsMenu.ControlsMouseControlsButton_clicked" name="Clicked" />
    2322            </Window>
    24             <Window Type="MenuWidgets/Button" Name="orxonox/KeybindingsButton" >
    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"/>
     23            <Window name="KeybindingsButton" type="MenuWidgets/Button">
     24                <Property name="Text" value="Keybindings" />
     25                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     26                <Property name="Area" value="{{0.3,0},{0.590909,0},{0.7,0},{0.772727,0}}" />
     27                <Event function="ControlsMenu.ControlsKeyboardControlsButton_clicked" name="Clicked" />
    2928            </Window>
    3029        </Window>
    31         <Window Type="MenuWidgets/Button" Name="orxonox/ControlsBackButton" >
    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"/>
     30        <Window name="ControlsBackButton" type="MenuWidgets/Button">
     31            <Property name="Text" value="Back" />
     32            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     33            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     34            <Event function="ControlsMenu.ControlsBackButton_clicked" name="Clicked" />
    3635        </Window>
    3736    </Window>
Note: See TracChangeset for help on using the changeset viewer.