Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 5, 2016, 11:46:10 PM (8 years ago)
Author:
bknecht
Message:

Merging cegui0.8 branch into ogre1.9 branch

Location:
code/branches/ogre1.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ogre1.9

  • code/branches/ogre1.9/data/gui/layouts/MainMenu.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/MainMenuBackground" >
    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,0},{1.0,0}}" />
    9         <Property Name="BackgroundEnabled" Value="False" />
    10         <Window Type="MenuWidgets/Button" Name="orxonox/QuickGameTestButton" >
    11             <Property Name="Text" Value="Quickstart" />
    12             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    13             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.2875,0},{0.6,0},{0.3375,0}}" />
    14             <Event Name="Clicked" Function="MainMenu.QuickGameTestButton_clicked"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="MainMenuBackground" 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,0},{1.0,0}}" />
     8        <Property name="BackgroundEnabled" value="False" />
     9        <Window name="QuickGameTestButton" type="MenuWidgets/Button">
     10            <Property name="Text" value="Quickstart" />
     11            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     12            <Property name="Area" value="{{0.4,0},{0.2875,0},{0.6,0},{0.3375,0}}" />
     13            <Event function="MainMenu.QuickGameTestButton_clicked" name="Clicked" />
    1514        </Window>
    16         <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerButton" >
    17             <Property Name="Text" Value="Singleplayer" />
    18             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    19             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
    20             <Event Name="Clicked" Function="MainMenu.SingleplayerButton_clicked"/>
     15        <Window name="SingleplayerButton" type="MenuWidgets/Button">
     16            <Property name="Text" value="Singleplayer" />
     17            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     18            <Property name="Area" value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
     19            <Event function="MainMenu.SingleplayerButton_clicked" name="Clicked" />
    2120        </Window>
    22         <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerButton" >
    23             <Property Name="Text" Value="Multiplayer" />
    24             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    25             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.4375,0},{0.6,0},{0.4875,0}}" />
    26             <Event Name="Clicked" Function="MainMenu.MultiplayerButton_clicked"/>
     21        <Window name="MultiplayerButton" type="MenuWidgets/Button">
     22            <Property name="Text" value="Multiplayer" />
     23            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     24            <Property name="Area" value="{{0.4,0},{0.4375,0},{0.6,0},{0.4875,0}}" />
     25            <Event function="MainMenu.MultiplayerButton_clicked" name="Clicked" />
    2726        </Window>
    28         <Window Type="MenuWidgets/Button" Name="orxonox/SettingsButton" >
    29             <Property Name="Text" Value="Settings" />
    30             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    31             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5125,0},{0.6,0},{0.5625,0}}" />
    32             <Event Name="Clicked" Function="MainMenu.SettingsButton_clicked"/>
     27        <Window name="SettingsButton" type="MenuWidgets/Button">
     28            <Property name="Text" value="Settings" />
     29            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     30            <Property name="Area" value="{{0.4,0},{0.5125,0},{0.6,0},{0.5625,0}}" />
     31            <Event function="MainMenu.SettingsButton_clicked" name="Clicked" />
    3332        </Window>
    34         <Window Type="MenuWidgets/Button" Name="orxonox/CreditsButton" >
    35             <Property Name="Text" Value="Credits" />
    36             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    37             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5875,0},{0.6,0},{0.6375,0}}" />
    38             <Event Name="Clicked" Function="MainMenu.CreditsButton_clicked"/>
     33        <Window name="CreditsButton" type="MenuWidgets/Button">
     34            <Property name="Text" value="Credits" />
     35            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     36            <Property name="Area" value="{{0.4,0},{0.5875,0},{0.6,0},{0.6375,0}}" />
     37            <Event function="MainMenu.CreditsButton_clicked" name="Clicked" />
    3938        </Window>
    40         <Window Type="MenuWidgets/Button" Name="orxonox/ExitButton" >
    41             <Property Name="Text" Value="Exit" />
    42             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    43             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    44             <Event Name="Clicked" Function="MainMenu.ExitButton_clicked"/>
     39        <Window name="ExitButton" type="MenuWidgets/Button">
     40            <Property name="Text" value="Exit" />
     41            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     42            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     43            <Event function="MainMenu.ExitButton_clicked" name="Clicked" />
    4544        </Window>
    4645    </Window>
Note: See TracChangeset for help on using the changeset viewer.