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/SettingsMenu.layout

    r7163 r11118  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/SettingsMenu/Background" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="FrameEnabled" 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/SettingsMenu/SettingsWindow" >
    11             <Property Name="Text" Value="Settings" />
    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/SettingsMenu/GameplayButton" >
    19                 <Property Name="Text" Value="Gameplay" />
    20                 <Property Name="Disabled" Value="True" />
    21                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.181818,0},{0.45,0},{0.363636,0}}" />
    23                 <Event Name="Clicked" Function="SettingsMenu.SettingsGameplayButton_clicked"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" type="MenuWidgets/StaticImage">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="FrameEnabled" 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="SettingsWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Settings" />
     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="GameplayButton" type="MenuWidgets/Button">
     18                <Property name="Text" value="Gameplay" />
     19                <Property name="Disabled" value="True" />
     20                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     21                <Property name="Area" value="{{0.05,0},{0.181818,0},{0.45,0},{0.363636,0}}" />
     22                <Event function="SettingsMenu.SettingsGameplayButton_clicked" name="Clicked" />
    2423            </Window>
    25             <Window Type="MenuWidgets/Button" Name="orxonox/SettingsMenu/MultiplayerOptionsButton" >
    26                 <Property Name="Text" Value="Multiplayer options" />
    27                 <Property Name="Disabled" Value="True" />
    28                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    29                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.454545,0},{0.45,0},{0.636363,0}}" />
    30                 <Event Name="Clicked" Function="SettingsMenu.SettingsMultiplayerOptionsButton_clicked"/>
     24            <Window name="MultiplayerOptionsButton" type="MenuWidgets/Button">
     25                <Property name="Text" value="Multiplayer options" />
     26                <Property name="Disabled" value="True" />
     27                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     28                <Property name="Area" value="{{0.05,0},{0.454545,0},{0.45,0},{0.636363,0}}" />
     29                <Event function="SettingsMenu.SettingsMultiplayerOptionsButton_clicked" name="Clicked" />
    3130            </Window>
    32             <Window Type="MenuWidgets/Button" Name="orxonox/SettingsMenu/ControlsButton" >
    33                 <Property Name="Text" Value="Controls" />
    34                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    35                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.727272,0},{0.45,0},{0.909090,0}}" />
    36                 <Event Name="Clicked" Function="SettingsMenu.SettingsControlsButton_clicked"/>
     31            <Window name="ControlsButton" type="MenuWidgets/Button">
     32                <Property name="Text" value="Controls" />
     33                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     34                <Property name="Area" value="{{0.05,0},{0.727272,0},{0.45,0},{0.909090,0}}" />
     35                <Event function="SettingsMenu.SettingsControlsButton_clicked" name="Clicked" />
    3736            </Window>
    38             <Window Type="MenuWidgets/Button" Name="orxonox/SettingsMenu/GraphicsButton" >
    39                 <Property Name="Text" Value="Graphics" />
    40                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41                 <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.181818,0},{0.95,0},{0.363636,0}}" />
    42                 <Event Name="Clicked" Function="SettingsMenu.SettingsGraphicsButton_clicked"/>
     37            <Window name="GraphicsButton" type="MenuWidgets/Button">
     38                <Property name="Text" value="Graphics" />
     39                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40                <Property name="Area" value="{{0.55,0},{0.181818,0},{0.95,0},{0.363636,0}}" />
     41                <Event function="SettingsMenu.SettingsGraphicsButton_clicked" name="Clicked" />
    4342            </Window>
    44             <Window Type="MenuWidgets/Button" Name="orxonox/SettingsMenu/AudioButton" >
    45                 <Property Name="Text" Value="Audio" />
    46                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    47                 <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.454545,0},{0.95,0},{0.636363,0}}" />
    48                 <Event Name="Clicked" Function="SettingsMenu.SettingsAudioButton_clicked"/>
     43            <Window name="AudioButton" type="MenuWidgets/Button">
     44                <Property name="Text" value="Audio" />
     45                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     46                <Property name="Area" value="{{0.55,0},{0.454545,0},{0.95,0},{0.636363,0}}" />
     47                <Event function="SettingsMenu.SettingsAudioButton_clicked" name="Clicked" />
    4948            </Window>
    50             <Window Type="MenuWidgets/Button" Name="orxonox/SettingsMenu/MiscellaneousButton" >
    51                 <Property Name="Text" Value="Miscellaneous" />
    52                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    53                 <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.727272,0},{0.95,0},{0.909090,0}}" />
    54                 <Event Name="Clicked" Function="SettingsMenu.SettingsMiscellaneousButton_clicked"/>
     49            <Window name="MiscellaneousButton" type="MenuWidgets/Button">
     50                <Property name="Text" value="Miscellaneous" />
     51                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     52                <Property name="Area" value="{{0.55,0},{0.727272,0},{0.95,0},{0.909090,0}}" />
     53                <Event function="SettingsMenu.SettingsMiscellaneousButton_clicked" name="Clicked" />
    5554            </Window>
    5655        </Window>
    57         <Window Type="MenuWidgets/Button" Name="orxonox/SettingsMenu/SettingsBackButton" >
    58             <Property Name="Text" Value="Back" />
    59             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    60             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    61             <Event Name="Clicked" Function="SettingsMenu.SettingsBackButton_clicked"/>
     56        <Window name="SettingsBackButton" type="MenuWidgets/Button">
     57            <Property name="Text" value="Back" />
     58            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     59            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     60            <Event function="SettingsMenu.SettingsBackButton_clicked" name="Clicked" />
    6261        </Window>
    6362    </Window>
Note: See TracChangeset for help on using the changeset viewer.