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

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/GameplayBackground" >
    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/GameplayWindow" >
    11             <Property Name="Text" Value="Gameplay" />
    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/StaticText" Name="orxonox/Difficulty" >
    19                 <Property Name="Text" Value="Difficulty" />
    20                 <Property Name="InheritsAlpha" Value="False" />
    21                 <Property Name="HorzFormatting" Value="HorzCentred" />
    22                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    23                 <Property Name="VertFormatting" Value="TopAligned" />
    24                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.2,0},{0.475,0},{0.9,0}}" />
    25                 <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyEasyButton" >
    26                     <Property Name="Text" Value="Easy" />
    27                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    28                     <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.325,0},{0.675,0},{0.45,0}}" />
    29                     <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyEasyButton_clicked"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="GameplayBackground" 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="GameplayWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Gameplay" />
     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="Difficulty" type="MenuWidgets/StaticText">
     18                <Property name="Text" value="Difficulty" />
     19                <Property name="InheritsAlpha" value="False" />
     20                <Property name="HorzFormatting" value="HorzCentred" />
     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.475,0},{0.9,0}}" />
     24                <Window name="DifficultyEasyButton" type="MenuWidgets/RadioButton">
     25                    <Property name="Text" value="Easy" />
     26                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     27                    <Property name="Area" value="{{0.325,0},{0.325,0},{0.675,0},{0.45,0}}" />
     28                    <Event function="GameplayMenu.GameplayDifficultyEasyButton_clicked" name="SelectStateChanged" />
    3029                </Window>
    31                 <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyNormalButton" >
    32                     <Property Name="Text" Value="Normal" />
    33                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    34                     <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.525,0},{0.675,0},{0.65,0}}" />
    35                     <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyNormalButton_clicked"/>
     30                <Window name="DifficultyNormalButton" type="MenuWidgets/RadioButton">
     31                    <Property name="Text" value="Normal" />
     32                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     33                    <Property name="Area" value="{{0.325,0},{0.525,0},{0.675,0},{0.65,0}}" />
     34                    <Event function="GameplayMenu.GameplayDifficultyNormalButton_clicked" name="SelectStateChanged" />
    3635                </Window>
    37                 <Window Type="MenuWidgets/RadioButton" Name="orxonox/DifficultyHardButton" >
    38                     <Property Name="Text" Value="Hard" />
    39                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    40                     <Property Name="UnifiedAreaRect" Value="{{0.325,0},{0.725,0},{0.675,0},{0.85,0}}" />
    41                     <Event Name="SelectStateChanged" Function="GameplayMenu.GameplayDifficultyHardButton_clicked"/>
     36                <Window name="DifficultyHardButton" type="MenuWidgets/RadioButton">
     37                    <Property name="Text" value="Hard" />
     38                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     39                    <Property name="Area" value="{{0.325,0},{0.725,0},{0.675,0},{0.85,0}}" />
     40                    <Event function="GameplayMenu.GameplayDifficultyHardButton_clicked" name="SelectStateChanged" />
    4241                </Window>
    4342            </Window>
    44             <Window Type="MenuWidgets/StaticText" Name="orxonox/Theme" >
    45                 <Property Name="Text" Value="Theme" />
    46                 <Property Name="InheritsAlpha" Value="False" />
    47                 <Property Name="HorzFormatting" Value="HorzCentred" />
    48                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    49                 <Property Name="VertFormatting" Value="TopAligned" />
    50                 <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.2,0},{0.95,0},{0.9,0}}" />
    51                 <Window Type="MenuWidgets/Combobox" Name="orxonox/ThemeCombobox" >
    52                     <Property Name="AlwaysOnTop" Value="True" />
    53                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    54                     <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
    55                     <Property Name="MaxEditTextLength" Value="1073741823" />
    56                     <Property Name="ReadOnly" Value="True" />
    57                     <Event Name="ListSelectionAccepted" Function="GameplayMenu.GameplayThemeCombobox_changed" />
     43            <Window name="Theme" type="MenuWidgets/StaticText">
     44                <Property name="Text" value="Theme" />
     45                <Property name="InheritsAlpha" value="False" />
     46                <Property name="HorzFormatting" value="HorzCentred" />
     47                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     48                <Property name="VertFormatting" value="TopAligned" />
     49                <Property name="Area" value="{{0.525,0},{0.2,0},{0.95,0},{0.9,0}}" />
     50                <Window name="ThemeCombobox" type="MenuWidgets/Combobox">
     51                    <Property name="AlwaysOnTop" value="True" />
     52                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     53                    <Property name="Area" value="{{0.05,0},{0.21,0},{0.95,0},{0.9,0}}" />
     54                    <Property name="MaxEditTextLength" value="1073741823" />
     55                    <Property name="ReadOnly" value="True" />
     56                    <Event function="GameplayMenu.GameplayThemeCombobox_changed" name="ListSelectionAccepted" />
    5857                </Window>
    5958            </Window>
    6059        </Window>
    61         <Window Type="MenuWidgets/Button" Name="orxonox/GameplayBackButton" >
    62             <Property Name="Text" Value="Back" />
    63             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    64             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    65             <Event Name="Clicked" Function="GameplayMenu.GameplayBackButton_clicked"/>
     60        <Window name="GameplayBackButton" type="MenuWidgets/Button">
     61            <Property name="Text" value="Back" />
     62            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     63            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     64            <Event function="GameplayMenu.GameplayBackButton_clicked" name="Clicked" />
    6665        </Window>
    6766    </Window>
Note: See TracChangeset for help on using the changeset viewer.