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:
32 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ogre1.9

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

    r7801 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/AudioBackground" >
    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/AudioWindow" >
    11             <Property Name="Text" Value="Audio" />
    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.2,0},{0.2875,0},{0.8,0},{0.6375,0}}" />
    18             <Window Type="MenuWidgets/StaticText" Name="orxonox/MasterVolume" >
    19                 <Property Name="Text" Value="Master volume               " />
    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.041666,0},{0.15,0},{0.5625,0},{0.3525,0}}" />
    25                 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MasterScrollbar" >
    26                     <Property Name="PageSize" Value="0" />
    27                     <Property Name="StepSize" Value="1" />
    28                     <Property Name="OverlapSize" Value="0" />
    29                     <Property Name="DocumentSize" Value="1" />
    30                     <Property Name="ScrollPosition" Value="0" />
    31                     <Property Name="StepSize" Value="0.1" />
    32                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    33                     <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
    34                     <Event Name="ThumbTrackStarted" Function="AudioMenu.AudioMasterScrollbar_started" />
    35                     <Event Name="ThumbTrackEnded" Function="AudioMenu.AudioMasterScrollbar_ended" />
    36                     <Event Name="ScrollPosChanged" Function="AudioMenu.AudioMasterScrollbar_changed" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="AudioBackground" 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="AudioWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Audio" />
     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.2,0},{0.2875,0},{0.8,0},{0.6375,0}}" />
     17            <Window name="MasterVolume" type="MenuWidgets/StaticText">
     18                <Property name="Text" value="Master volume               " />
     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.041666,0},{0.15,0},{0.5625,0},{0.3525,0}}" />
     24                <Window name="MasterScrollbar" type="MenuWidgets/HorizontalScrollbar">
     25                    <Property name="PageSize" value="0" />
     26                    <Property name="StepSize" value="1" />
     27                    <Property name="OverlapSize" value="0" />
     28                    <Property name="DocumentSize" value="1" />
     29                    <Property name="ScrollPosition" value="0" />
     30                    <Property name="StepSize" value="0.1" />
     31                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     32                    <Property name="Area" value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
     33                    <Event function="AudioMenu.AudioMasterScrollbar_started" name="ThumbTrackStarted" />
     34                    <Event function="AudioMenu.AudioMasterScrollbar_ended" name="ThumbTrackEnded" />
     35                    <Event function="AudioMenu.AudioMasterScrollbar_changed" name="ScrollPosChanged" />
    3736                </Window>
    38                 <Window Type="MenuWidgets/Checkbox" Name="orxonox/MasterCheckbox" >
    39                     <Property Name="Text" Value="Mute" />
    40                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41                     <Property Name="UnifiedAreaRect" Value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
    42                     <Event Name="CheckStateChanged" Function="AudioMenu.AudioMuteMasterCheckbox_clicked"/>
     37                <Window name="MasterCheckbox" type="MenuWidgets/Checkbox">
     38                    <Property name="Text" value="Mute" />
     39                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40                    <Property name="Area" value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
     41                    <Event function="AudioMenu.AudioMuteMasterCheckbox_clicked" name="CheckStateChanged" />
    4342                </Window>
    4443            </Window>
    45             <Window Type="MenuWidgets/StaticText" Name="orxonox/MusicVolume" >
    46                 <Property Name="Text" Value="Music volume               " />
    47                 <Property Name="InheritsAlpha" Value="False" />
    48                 <Property Name="HorzFormatting" Value="HorzCentred" />
    49                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    50                 <Property Name="VertFormatting" Value="TopAligned" />
    51                 <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.4335,0},{0.5625,0},{0.636,0}}" />
    52                 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MusicScrollbar" >
    53                     <Property Name="PageSize" Value="0" />
    54                     <Property Name="StepSize" Value="1" />
    55                     <Property Name="OverlapSize" Value="0" />
    56                     <Property Name="DocumentSize" Value="1" />
    57                     <Property Name="ScrollPosition" Value="0" />
    58                     <Property Name="StepSize" Value="0.1" />
    59                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    60                     <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
    61                     <Event Name="ThumbTrackStarted" Function="AudioMenu.AudioMusicScrollbar_started" />
    62                     <Event Name="ThumbTrackEnded" Function="AudioMenu.AudioMusicScrollbar_ended" />
    63                     <Event Name="ScrollPosChanged" Function="AudioMenu.AudioMusicScrollbar_changed" />
     44            <Window name="MusicVolume" type="MenuWidgets/StaticText">
     45                <Property name="Text" value="Music volume               " />
     46                <Property name="InheritsAlpha" value="False" />
     47                <Property name="HorzFormatting" value="HorzCentred" />
     48                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     49                <Property name="VertFormatting" value="TopAligned" />
     50                <Property name="Area" value="{{0.041666,0},{0.4335,0},{0.5625,0},{0.636,0}}" />
     51                <Window name="MusicScrollbar" type="MenuWidgets/HorizontalScrollbar">
     52                    <Property name="PageSize" value="0" />
     53                    <Property name="StepSize" value="1" />
     54                    <Property name="OverlapSize" value="0" />
     55                    <Property name="DocumentSize" value="1" />
     56                    <Property name="ScrollPosition" value="0" />
     57                    <Property name="StepSize" value="0.1" />
     58                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     59                    <Property name="Area" value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
     60                    <Event function="AudioMenu.AudioMusicScrollbar_started" name="ThumbTrackStarted" />
     61                    <Event function="AudioMenu.AudioMusicScrollbar_ended" name="ThumbTrackEnded" />
     62                    <Event function="AudioMenu.AudioMusicScrollbar_changed" name="ScrollPosChanged" />
    6463                </Window>
    65                 <Window Type="MenuWidgets/Checkbox" Name="orxonox/MusicCheckbox" >
    66                     <Property Name="Text" Value="Mute" />
    67                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    68                     <Property Name="UnifiedAreaRect" Value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
    69                     <Event Name="CheckStateChanged" Function="AudioMenu.AudioMuteMusicCheckbox_clicked"/>
     64                <Window name="MusicCheckbox" type="MenuWidgets/Checkbox">
     65                    <Property name="Text" value="Mute" />
     66                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     67                    <Property name="Area" value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
     68                    <Event function="AudioMenu.AudioMuteMusicCheckbox_clicked" name="CheckStateChanged" />
    7069                </Window>
    7170            </Window>
    72             <Window Type="MenuWidgets/StaticText" Name="orxonox/EffectsVolume" >
    73                 <Property Name="Text" Value="Effects volume               " />
    74                 <Property Name="InheritsAlpha" Value="False" />
    75                 <Property Name="HorzFormatting" Value="HorzCentred" />
    76                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    77                 <Property Name="VertFormatting" Value="TopAligned" />
    78                 <Property Name="UnifiedAreaRect" Value="{{0.041666,0},{0.717,0},{0.5625,0},{0.9195,0}}" />
    79                 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/EffectsScrollbar" >
    80                     <Property Name="PageSize" Value="0" />
    81                     <Property Name="StepSize" Value="1" />
    82                     <Property Name="OverlapSize" Value="0" />
    83                     <Property Name="DocumentSize" Value="1" />
    84                     <Property Name="ScrollPosition" Value="0" />
    85                     <Property Name="StepSize" Value="0.1" />
    86                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    87                     <Property Name="UnifiedAreaRect" Value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
    88                     <Event Name="ThumbTrackStarted" Function="AudioMenu.AudioEffectsScrollbar_started" />
    89                     <Event Name="ThumbTrackEnded" Function="AudioMenu.AudioEffectsScrollbar_ended" />
    90                     <Event Name="ScrollPosChanged" Function="AudioMenu.AudioEffectsScrollbar_changed" />
     71            <Window name="EffectsVolume" type="MenuWidgets/StaticText">
     72                <Property name="Text" value="Effects volume               " />
     73                <Property name="InheritsAlpha" value="False" />
     74                <Property name="HorzFormatting" value="HorzCentred" />
     75                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     76                <Property name="VertFormatting" value="TopAligned" />
     77                <Property name="Area" value="{{0.041666,0},{0.717,0},{0.5625,0},{0.9195,0}}" />
     78                <Window name="EffectsScrollbar" type="MenuWidgets/HorizontalScrollbar">
     79                    <Property name="PageSize" value="0" />
     80                    <Property name="StepSize" value="1" />
     81                    <Property name="OverlapSize" value="0" />
     82                    <Property name="DocumentSize" value="1" />
     83                    <Property name="ScrollPosition" value="0" />
     84                    <Property name="StepSize" value="0.1" />
     85                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     86                    <Property name="Area" value="{{0.04,0},{0.6,0},{0.71,0},{0.8,0}}" />
     87                    <Event function="AudioMenu.AudioEffectsScrollbar_started" name="ThumbTrackStarted" />
     88                    <Event function="AudioMenu.AudioEffectsScrollbar_ended" name="ThumbTrackEnded" />
     89                    <Event function="AudioMenu.AudioEffectsScrollbar_changed" name="ScrollPosChanged" />
    9190                </Window>
    92                 <Window Type="MenuWidgets/Checkbox" Name="orxonox/EffectsCheckbox" >
    93                     <Property Name="Text" Value="Mute" />
    94                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    95                     <Property Name="UnifiedAreaRect" Value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
    96                     <Event Name="CheckStateChanged" Function="AudioMenu.AudioMuteEffectsCheckbox_clicked"/>
     91                <Window name="EffectsCheckbox" type="MenuWidgets/Checkbox">
     92                    <Property name="Text" value="Mute" />
     93                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     94                    <Property name="Area" value="{{0.775,0},{0.45,0},{0.96,0},{0.9,0}}" />
     95                    <Event function="AudioMenu.AudioMuteEffectsCheckbox_clicked" name="CheckStateChanged" />
    9796                </Window>
    9897            </Window>
    99             <Window Type="MenuWidgets/StaticText" Name="orxonox/AudioTheme" >
    100                 <Property Name="Text" Value="Theme" />
    101                 <Property Name="InheritsAlpha" Value="False" />
    102                 <Property Name="HorzFormatting" Value="HorzCentred" />
    103                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    104                 <Property Name="VertFormatting" Value="TopAligned" />
    105                 <Property Name="UnifiedAreaRect" Value="{{0.604166,0},{0.15,0},{0.958333,0},{0.636,0}}" />
    106                 <Window Type="MenuWidgets/Listbox" Name="orxonox/AudioThemeListbox" >
    107                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    108                     <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.225,0},{0.95,0},{0.92,0}}" />
    109                     <Event Name="ItemSelectionChanged" Function="AudioMenu.AudioThemeListbox_changed" />
     98            <Window name="AudioTheme" type="MenuWidgets/StaticText">
     99                <Property name="Text" value="Theme" />
     100                <Property name="InheritsAlpha" value="False" />
     101                <Property name="HorzFormatting" value="HorzCentred" />
     102                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     103                <Property name="VertFormatting" value="TopAligned" />
     104                <Property name="Area" value="{{0.604166,0},{0.15,0},{0.958333,0},{0.636,0}}" />
     105                <Window name="AudioThemeListbox" type="MenuWidgets/Listbox">
     106                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     107                    <Property name="Area" value="{{0.05,0},{0.225,0},{0.95,0},{0.92,0}}" />
     108                    <Event function="AudioMenu.AudioThemeListbox_changed" name="ItemSelectionChanged" />
    110109                </Window>
    111110            </Window>
    112             <Window Type="MenuWidgets/StaticText" Name="orxonox/AudioInfo" >
    113                 <Property Name="Text" >Theme changes might take
     111            <Window name="AudioInfo" type="MenuWidgets/StaticText">
     112                <Property name="Text">Theme changes might take
    114113up to a minute.</Property>
    115                 <Property Name="TextColours" Value="FFFFFFFF" />
    116                 <Property Name="InheritsAlpha" Value="False" />
    117                 <Property Name="HorzFormatting" Value="HorzCentred" />
    118                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    119                 <Property Name="VertFormatting" Value="TopAligned" />
    120                 <Property Name="UnifiedAreaRect" Value="{{0.604166,0},{0.717,0},{0.958333,0},{0.9195,0}}" />
     114                <Property name="TextColours" value="FFFFFFFF" />
     115                <Property name="InheritsAlpha" value="False" />
     116                <Property name="HorzFormatting" value="HorzCentred" />
     117                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     118                <Property name="VertFormatting" value="TopAligned" />
     119                <Property name="Area" value="{{0.604166,0},{0.717,0},{0.958333,0},{0.9195,0}}" />
    121120            </Window>
    122121        </Window>
    123         <Window Type="MenuWidgets/Button" Name="orxonox/AudioBackButton" >
    124             <Property Name="Text" Value="Back" />
    125             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    126             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    127             <Event Name="Clicked" Function="AudioMenu.AudioBackButton_clicked" />
     122        <Window name="AudioBackButton" type="MenuWidgets/Button">
     123            <Property name="Text" value="Back" />
     124            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     125            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     126            <Event function="AudioMenu.AudioBackButton_clicked" name="Clicked" />
    128127        </Window>
    129128    </Window>
  • code/branches/ogre1.9/data/gui/layouts/CampaignMenu.layout

    r11052 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/CampaignBackground" >
    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/Mission1Button" >
    11             <Property Name="Text" Value="Mission One" />
    12             <Property Name="Visible" Value="False"/>
    13             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    14             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.1,0},{0.65,0},{0.15,0}}" />
    15             <Event Name="Clicked" Function="CampaignMenu.Mission1Button_clicked"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="CampaignBackground" 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="Mission1Button" type="MenuWidgets/Button">
     10            <Property name="Text" value="Mission One" />
     11            <Property name="Visible" value="False" />
     12            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     13            <Property name="Area" value="{{0.35,0},{0.1,0},{0.65,0},{0.15,0}}" />
     14            <Event function="CampaignMenu.Mission1Button_clicked" name="Clicked" />
    1615        </Window>
    17         <Window Type="MenuWidgets/Button" Name="orxonox/Mission2Button" >
    18             <Property Name="Text" Value="Fight in our Back" />
    19             <Property Name="Visible" Value="False"/>
    20             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    21             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.18,0},{0.65,0},{0.23,0}}" />
    22             <Property Name="Disabled" Value="True" />
    23             <Event Name="Clicked" Function="CampaignMenu.Mission2Button_clicked"/>
     16        <Window name="Mission2Button" type="MenuWidgets/Button">
     17            <Property name="Text" value="Fight in our Back" />
     18            <Property name="Visible" value="False" />
     19            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     20            <Property name="Area" value="{{0.35,0},{0.18,0},{0.65,0},{0.23,0}}" />
     21            <Property name="Disabled" value="True" />
     22            <Event function="CampaignMenu.Mission2Button_clicked" name="Clicked" />
    2423        </Window>
    25         <Window Type="MenuWidgets/Button" Name="orxonox/Mission3Button" >
    26             <Property Name="Text" Value="Pirate Attack" />
    27             <Property Name="Visible" Value="False"/>
    28             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    29             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.26,0},{0.65,0},{0.31,0}}" />
    30             <Property Name="Disabled" Value="True" />
    31             <Event Name="Clicked" Function="CampaignMenu.Mission3Button_clicked"/>
     24        <Window name="Mission3Button" type="MenuWidgets/Button">
     25            <Property name="Text" value="Pirate Attack" />
     26            <Property name="Visible" value="False" />
     27            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     28            <Property name="Area" value="{{0.35,0},{0.26,0},{0.65,0},{0.31,0}}" />
     29            <Property name="Disabled" value="True" />
     30            <Event function="CampaignMenu.Mission3Button_clicked" name="Clicked" />
    3231        </Window>
    33         <Window Type="MenuWidgets/Button" Name="orxonox/Mission4Button" >
    34             <Property Name="Text" Value="Trip to Area 51" />
    35             <Property Name="Visible" Value="False"/>
    36             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    37             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.34,0},{0.65,0},{0.39,0}}" />
    38             <Property Name="Disabled" Value="True" />
    39             <Event Name="Clicked" Function="CampaignMenu.Mission4Button_clicked"/>
     32        <Window name="Mission4Button" type="MenuWidgets/Button">
     33            <Property name="Text" value="Trip to Area 51" />
     34            <Property name="Visible" value="False" />
     35            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     36            <Property name="Area" value="{{0.35,0},{0.34,0},{0.65,0},{0.39,0}}" />
     37            <Property name="Disabled" value="True" />
     38            <Event function="CampaignMenu.Mission4Button_clicked" name="Clicked" />
    4039        </Window>
    41         <Window Type="MenuWidgets/Button" Name="orxonox/Mission5Button" >
    42             <Property Name="Text" Value="Area 51 under Fire" />
    43             <Property Name="Visible" Value="False"/>
    44             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    45             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.42,0},{0.65,0},{0.47,0}}" />
    46             <Property Name="Disabled" Value="True" />
    47             <Event Name="Clicked" Function="CampaignMenu.Mission5Button_clicked"/>
     40        <Window name="Mission5Button" type="MenuWidgets/Button">
     41            <Property name="Text" value="Area 51 under Fire" />
     42            <Property name="Visible" value="False" />
     43            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     44            <Property name="Area" value="{{0.35,0},{0.42,0},{0.65,0},{0.47,0}}" />
     45            <Property name="Disabled" value="True" />
     46            <Event function="CampaignMenu.Mission5Button_clicked" name="Clicked" />
    4847        </Window>
    49         <Window Type="MenuWidgets/Button" Name="orxonox/Mission6Button" >
    50             <Property Name="Text" Value="Escape the Bastards" />
    51             <Property Name="Visible" Value="False"/>
    52             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    53             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.50,0},{0.65,0},{0.55,0}}" />
    54             <Property Name="Disabled" Value="True" />
    55             <Event Name="Clicked" Function="CampaignMenu.Mission6Button_clicked"/>
     48        <Window name="Mission6Button" type="MenuWidgets/Button">
     49            <Property name="Text" value="Escape the Bastards" />
     50            <Property name="Visible" value="False" />
     51            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     52            <Property name="Area" value="{{0.35,0},{0.50,0},{0.65,0},{0.55,0}}" />
     53            <Property name="Disabled" value="True" />
     54            <Event function="CampaignMenu.Mission6Button_clicked" name="Clicked" />
    5655        </Window>
    57         <Window Type="MenuWidgets/Button" Name="orxonox/Mission7Button" >
    58             <Property Name="Text" Value="Expedition to Sector 5C" />
    59             <Property Name="Visible" Value="False"/>
    60             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    61             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.58,0},{0.65,0},{0.63,0}}" />
    62             <Property Name="Disabled" Value="True" />
    63             <Event Name="Clicked" Function="CampaignMenu.Mission7Button_clicked"/>
     56        <Window name="Mission7Button" type="MenuWidgets/Button">
     57            <Property name="Text" value="Expedition to Sector 5C" />
     58            <Property name="Visible" value="False" />
     59            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     60            <Property name="Area" value="{{0.35,0},{0.58,0},{0.65,0},{0.63,0}}" />
     61            <Property name="Disabled" value="True" />
     62            <Event function="CampaignMenu.Mission7Button_clicked" name="Clicked" />
    6463        </Window>
    65         <Window Type="MenuWidgets/Button" Name="orxonox/Mission8Button" >
    66             <Property Name="Text" Value="Shuttle under Attack" />
    67             <Property Name="Visible" Value="False"/>
    68             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    69             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.66,0},{0.65,0},{0.71,0}}" />
    70             <Property Name="Disabled" Value="True" />
    71             <Event Name="Clicked" Function="CampaignMenu.Mission8Button_clicked"/>
     64        <Window name="Mission8Button" type="MenuWidgets/Button">
     65            <Property name="Text" value="Shuttle under Attack" />
     66            <Property name="Visible" value="False" />
     67            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     68            <Property name="Area" value="{{0.35,0},{0.66,0},{0.65,0},{0.71,0}}" />
     69            <Property name="Disabled" value="True" />
     70            <Event function="CampaignMenu.Mission8Button_clicked" name="Clicked" />
    7271        </Window>
    73         <Window Type="MenuWidgets/Button" Name="orxonox/Mission9Button" >
    74             <Property Name="Text" Value="Retaliation" />
    75             <Property Name="Visible" Value="False"/>
    76             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    77             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.74,0},{0.65,0},{0.79,0}}" />
    78             <Property Name="Disabled" Value="True" />
    79             <Event Name="Clicked" Function="CampaignMenu.Mission9Button_clicked"/>
     72        <Window name="Mission9Button" type="MenuWidgets/Button">
     73            <Property name="Text" value="Retaliation" />
     74            <Property name="Visible" value="False" />
     75            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     76            <Property name="Area" value="{{0.35,0},{0.74,0},{0.65,0},{0.79,0}}" />
     77            <Property name="Disabled" value="True" />
     78            <Event function="CampaignMenu.Mission9Button_clicked" name="Clicked" />
    8079        </Window>
    81 
    82 
    83         <Window Type="MenuWidgets/Button" Name="orxonox/CampaignMenuBackButton" >
    84             <Property Name="Text" Value="Back" />
    85             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    86             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.85,0},{0.65,0},{0.9,0}}" />
    87             <Event Name="Clicked" Function="CampaignMenu.CampaignMenuBackButton_clicked"/>
     80        <Window name="CampaignMenuBackButton" type="MenuWidgets/Button">
     81            <Property name="Text" value="Back" />
     82            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     83            <Property name="Area" value="{{0.35,0},{0.85,0},{0.65,0},{0.9,0}}" />
     84            <Event function="CampaignMenu.CampaignMenuBackButton_clicked" name="Clicked" />
    8885        </Window>
    89         <Window Type="MenuWidgets/StaticText" Name="orxonox/CampaignMenuCongratulation" >
    90             <Property Name="Text" Value="Campaign Completed!!!" />
    91             <Property Name="Visible" Value="False"/>
    92             <Property Name="InheritsAlpha" Value="False" />
    93             <Property Name="HorzFormatting" Value="HorzCentred" />
    94             <Property Name="VertFormatting" Value="TopAligned" />
    95             <Property Name="UnifiedMaxSize" Value="{{2,1},{2,1}}" />
    96             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.15,0},{0.6,0},{0.2,0}}" />
     86        <Window name="CampaignMenuCongratulation" type="MenuWidgets/StaticText">
     87            <Property name="Text" value="Campaign Completed!!!" />
     88            <Property name="Visible" value="False" />
     89            <Property name="InheritsAlpha" value="False" />
     90            <Property name="HorzFormatting" value="HorzCentred" />
     91            <Property name="VertFormatting" value="TopAligned" />
     92            <Property name="MaxSize" value="{{2,1},{2,1}}" />
     93            <Property name="Area" value="{{0.4,0},{0.15,0},{0.6,0},{0.2,0}}" />
    9794        </Window>
    9895    </Window>
  • code/branches/ogre1.9/data/gui/layouts/ChatBox-inputonly.layout

    r7163 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/ChatBox-inputonly/Root" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox-inputonly/input" >
    9             <Property Name="Text" Value="" />
    10             <Property Name="Font" Value="Monofur-10" />
    11             <Property Name="AlwaysOnTop" Value="True" />
    12             <Property Name="MaxTextLength" Value="12981298" />
    13             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    14             <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0,5},{0.98,0},{0,30}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="ChatBox-inputonly" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="input" type="MenuWidgets/Editbox">
     8            <Property name="Text" value="" />
     9            <Property name="Font" value="Monofur-10" />
     10            <Property name="AlwaysOnTop" value="True" />
     11            <Property name="MaxTextLength" value="12981298" />
     12            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     13            <Property name="Area" value="{{0.02,0},{0,5},{0.98,0},{0,30}}" />
    1514        </Window>
    1615    </Window>
  • code/branches/ogre1.9/data/gui/layouts/ChatBox.layout

    r7612 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/ChatBox/Root" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/FrameWindow" Name="orxonox/ChatBox" >
    9             <Property Name="Text" Value="Chat" />
    10             <Property Name="InheritsAlpha" Value="False" />
    11             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12             <Property Name="TitlebarEnabled" Value="True" />
    13             <!--<Property Name="UnifiedAreaRect" Value="{{0.01,0},{0.03,0},{0.6,0},{0.69375,0}}" />-->
    14             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.10,0},{0.98,0},{0.65,0}}" />
    15             <Event Name="CloseClicked" Function="ChatBox.ChatBoxCloseButton_clicked"/>
    16             <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" >
    17                 <Property Name="Font" Value="Monofur-10" />
    18                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    19                 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="ChatBox" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="frame" type="MenuWidgets/FrameWindow">
     8            <Property name="Text" value="Chat" />
     9            <Property name="InheritsAlpha" value="False" />
     10            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     11            <Property name="TitlebarEnabled" value="True" />
     12            <Property name="Area" value="{{0.35,0},{0.10,0},{0.98,0},{0.65,0}}" />
     13            <Event function="ChatBox.ChatBoxCloseButton_clicked" name="CloseClicked" />
     14            <Window name="history" type="MenuWidgets/Listbox">
     15                <Property name="Font" value="Monofur-10" />
     16                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     17                <Property name="Area" value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" />
    2018            </Window>
    21             <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox/input" >
    22                 <Property Name="Text" Value="" />
    23                 <Property Name="Font" Value="Monofur-10" />
    24                 <Property Name="MaxTextLength" Value="1073741823" />
    25                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    26                 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
     19            <Window name="input" type="MenuWidgets/Editbox">
     20                <Property name="Text" value="" />
     21                <Property name="Font" value="Monofur-10" />
     22                <Property name="MaxTextLength" value="1073741823" />
     23                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     24                <Property name="Area" value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
    2725            </Window>
    2826        </Window>
  • code/branches/ogre1.9/data/gui/layouts/ControlsMenu.layout

    r6746 r11211  
    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>
  • code/branches/ogre1.9/data/gui/layouts/CreditsMenu.layout

    r9941 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/CreditsMenu/Background" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsWindow" >
    9             <Property Name="Text" Value="Credits" />
    10             <Property Name="Alpha" Value="0.8" />
    11             <Property Name="InheritsAlpha" Value="False" />
    12             <Property Name="HorzFormatting" Value="HorzCentred" />
    13             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    14             <Property Name="VertFormatting" Value="TopAligned" />
    15             <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
    16             <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsMenuWrapper" >
    17                 <Property Name="InheritsAlpha" Value="False" />
    18                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    19                 <Property Name="HorzFormatting" Value="HorzCentred" />
    20                 <Property Name="VertFormatting" Value="TopAligned" />
    21                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
    22                 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/CreditsMenuPane" >
    23                     <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
    24                     <Property Name="HorzStepSize" Value="0.005" />
    25                     <Property Name="VertStepSize" Value="0.005" />
    26                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    27                     <Property Name="HorzOverlapSize" Value="0.01" />
    28                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.997,0},{0.997,0}}" />
    29                     <Property Name="VertOverlapSize" Value="0.01" />
    30                     <Property Name="HorzScrollPosition" Value="0" />
    31                     <Property Name="VertScrollPosition" Value="0" />
    32                     <Window Type="MenuWidgets/StaticText" Name="orxonox/CreditsText" >
    33                         <Property Name="TextColours" Value="FFFFFFFF" />
    34                         <Property Name="InheritsAlpha" Value="False" />
    35                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    36                         <Property Name="HorzFormatting" Value="HorzCentred" />
    37                         <Property Name="VertFormatting" Value="TopAligned" />
    38                         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    39                         <Property Name="Text">Orxonox version 0.0.3
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="CreditsWindow" type="MenuWidgets/StaticText">
     8            <Property name="Text" value="Credits" />
     9            <Property name="Alpha" value="0.8" />
     10            <Property name="InheritsAlpha" value="False" />
     11            <Property name="HorzFormatting" value="HorzCentred" />
     12            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     13            <Property name="VertFormatting" value="TopAligned" />
     14            <Property name="Area" value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
     15            <Window name="CreditsMenuWrapper" type="MenuWidgets/StaticText">
     16                <Property name="InheritsAlpha" value="False" />
     17                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     18                <Property name="HorzFormatting" value="HorzCentred" />
     19                <Property name="VertFormatting" value="TopAligned" />
     20                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
     21                <Window name="CreditsMenuPane" type="MenuWidgets/ScrollablePane">
     22                    <Property name="ContentArea" value="l:0 t:0 r:0 b:0" />
     23                    <Property name="HorzStepSize" value="0.005" />
     24                    <Property name="VertStepSize" value="0.005" />
     25                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     26                    <Property name="HorzOverlapSize" value="0.01" />
     27                    <Property name="Area" value="{{0,0},{0,0},{0.997,0},{0.997,0}}" />
     28                    <Property name="VertOverlapSize" value="0.01" />
     29                    <Property name="HorzScrollPosition" value="0" />
     30                    <Property name="VertScrollPosition" value="0" />
     31                    <Window name="CreditsText" type="MenuWidgets/StaticText">
     32                        <Property name="TextColours" value="FFFFFFFF" />
     33                        <Property name="InheritsAlpha" value="False" />
     34                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     35                        <Property name="HorzFormatting" value="HorzCentred" />
     36                        <Property name="VertFormatting" value="TopAligned" />
     37                        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     38                        <Property name="Text">Orxonox version 0.0.3
    4039   
    4140    Programming Language:  C++ - lua - tcl
     
    5554            </Window>
    5655        </Window>
    57         <Window Type="MenuWidgets/Button" Name="orxonox/CreditsBackButton" >
    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="CreditsMenu.CreditsBackButton_clicked"/>
     56        <Window name="CreditsBackButton" 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="CreditsMenu.CreditsBackButton_clicked" name="Clicked" />
    6261        </Window>
    6362    </Window>
  • code/branches/ogre1.9/data/gui/layouts/DecisionPopup.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/DecisionPopup_RootWindow" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/StaticImage" Name="orxonox/DecisionPopup_Background" >
    9             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    10             <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    11             <Property Name="Alpha" Value="0.6" />
    12             <Window Type="MenuWidgets/Button" Name="orxonox/DecisionPopup_button_yes" >
    13                 <Property Name="Text" Value="Yes" />
    14                 <Property Name="Alpha" Value="0.7" />
    15                 <Property Name="InheritsAlpha" Value="False" />
    16                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    17                 <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.5625,0},{0.4875,0},{0.6125,0}}" />
    18                 <Event Name="Clicked" Function="DecisionPopup.button_yes"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="DecisionPopup_RootWindow" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="DecisionPopup_Background" type="MenuWidgets/StaticImage">
     8            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     9            <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     10            <Property name="Alpha" value="0.6" />
     11            <Window name="DecisionPopup_button_yes" type="MenuWidgets/Button">
     12                <Property name="Text" value="Yes" />
     13                <Property name="Alpha" value="0.7" />
     14                <Property name="InheritsAlpha" value="False" />
     15                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     16                <Property name="Area" value="{{0.2875,0},{0.5625,0},{0.4875,0},{0.6125,0}}" />
     17                <Event function="DecisionPopup.button_yes" name="Clicked" />
    1918            </Window>
    20             <Window Type="MenuWidgets/Button" Name="orxonox/DecisionPopup_button_no" >
    21                 <Property Name="Text" Value="No" />
    22                 <Property Name="Alpha" Value="0.8" />
    23                 <Property Name="InheritsAlpha" Value="False" />
    24                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    25                 <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.5625,0},{0.7125,0},{0.6125,0}}" />
    26                 <Event Name="Clicked" Function="DecisionPopup.button_no"/>
     19            <Window name="DecisionPopup_button_no" type="MenuWidgets/Button">
     20                <Property name="Text" value="No" />
     21                <Property name="Alpha" value="0.8" />
     22                <Property name="InheritsAlpha" value="False" />
     23                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     24                <Property name="Area" value="{{0.5125,0},{0.5625,0},{0.7125,0},{0.6125,0}}" />
     25                <Event function="DecisionPopup.button_no" name="Clicked" />
    2726            </Window>
    28             <Window Type="MenuWidgets/StaticText" Name="orxonox/DecisionPopup_text" >
    29                 <Property Name="Text" Value="Template text" />
    30                 <Property Name="HorzFormatting" Value="WordWrapCentred" />
    31                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    32                 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.4375,0},{0.75,0},{0.5375,0}}" />
    33                 <Property Name="InheritsAlpha" Value="False" />
    34                 <Property Name="Alpha" Value="0.8" />
     27            <Window name="DecisionPopup_text" type="MenuWidgets/StaticText">
     28                <Property name="Text" value="Template text" />
     29                <Property name="HorzFormatting" value="WordWrapCentred" />
     30                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     31                <Property name="Area" value="{{0.25,0},{0.4375,0},{0.75,0},{0.5375,0}}" />
     32                <Property name="InheritsAlpha" value="False" />
     33                <Property name="Alpha" value="0.8" />
    3534            </Window>
    3635        </Window>
  • code/branches/ogre1.9/data/gui/layouts/DockingDialog.layout

    r8706 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/Docking/Background" >
    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/Docking/Title" >
    11             <Property Name="Text" Value="Docking" />
    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.2875,0},{0.75,0},{0.7,0}}" />
    18             <Window Type="MenuWidgets/Listbox" Name="orxonox/Docking/Docks" >
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" 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="Title" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Docking" />
     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.2875,0},{0.75,0},{0.7,0}}" />
     17            <Window name="Docks" type="MenuWidgets/Listbox">
     18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     19                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
    2120            </Window>
    2221        </Window>
    23         <Window Type="MenuWidgets/Button" Name="orxonox/Docking/DockButton" >
    24             <Property Name="Text" Value="Dock" />
    25             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    26             <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
    27             <Event Name="Clicked" Function="DockingDialog.dockButton_clicked"/>
     22        <Window name="DockButton" type="MenuWidgets/Button">
     23            <Property name="Text" value="Dock" />
     24            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     25            <Property name="Area" value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
     26            <Event function="DockingDialog.dockButton_clicked" name="Clicked" />
    2827        </Window>
    29         <Window Type="MenuWidgets/Button" Name="orxonox/Docking/CancelButton" >
    30             <Property Name="Text" Value="Cancel" />
    31             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    32             <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
    33             <Event Name="Clicked" Function="DockingDialog.cancelButton_clicked"/>
     28        <Window name="CancelButton" type="MenuWidgets/Button">
     29            <Property name="Text" value="Cancel" />
     30            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     31            <Property name="Area" value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
     32            <Event function="DockingDialog.cancelButton_clicked" name="Clicked" />
    3433        </Window>
    3534    </Window>
  • code/branches/ogre1.9/data/gui/layouts/GUILayout.xsd

    r9348 r11211  
    22<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    33
    4     <xsd:element name="GUILayout" type="GUILayoutType"/>
     4        <xsd:element name="GUILayout" type="GUILayoutType"/>
     5       
     6        <xsd:complexType name="GUILayoutType">
     7                <xsd:sequence>
     8                        <xsd:element name="Window" type="WindowType" />
     9                </xsd:sequence>
     10                <xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" />
     11        </xsd:complexType>
     12       
     13        <xsd:complexType name="WindowType">
     14                <xsd:sequence>
     15                        <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
     16                        <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
     17                        <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
     18                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
     19                                <xsd:element name="Window" type="WindowType" />
     20                                <xsd:element name="AutoWindow" type="AutoWindowType" />
     21                        </xsd:choice>
     22                        <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
     23                        <xsd:element name="UserString" type="UserStringType"  minOccurs="0" maxOccurs="unbounded" />
     24                </xsd:sequence>
     25                <xsd:attribute name="type" type="xsd:string" use="required"/>
     26                <xsd:attribute name="name" type="xsd:string" use="optional" default="" />
     27        </xsd:complexType>
    528
    6     <xsd:complexType name="GUILayoutType">
    7         <xsd:sequence>
    8             <xsd:element name="Window" type="WindowType" />
    9         </xsd:sequence>
    10         <xsd:attribute name="Parent" type="xsd:string" use="optional" default=""/>
    11     </xsd:complexType>
     29        <xsd:complexType name="AutoWindowType">
     30                <xsd:sequence>
     31                        <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
     32                        <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
     33                        <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
     34                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
     35                                <xsd:element name="Window" type="WindowType" />
     36                                <xsd:element name="AutoWindow" type="AutoWindowType" />
     37                        </xsd:choice>
     38                        <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
     39                </xsd:sequence>
     40                <xsd:attribute name="namePath" type="xsd:string" use="required"/>
     41        </xsd:complexType>
    1242
    13     <xsd:complexType name="WindowType">
    14         <xsd:sequence>
    15             <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
    16             <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
    17             <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
    18             <xsd:choice minOccurs="0" maxOccurs="unbounded">
    19                 <xsd:element name="Window" type="WindowType" />
    20                 <xsd:element name="AutoWindow" type="AutoWindowType" />
    21             </xsd:choice>
    22             <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
    23         </xsd:sequence>
    24         <xsd:attribute name="Type" type="xsd:string" use="required"/>
    25         <xsd:attribute name="Name" type="xsd:string" use="optional" default="" />
    26     </xsd:complexType>
     43        <xsd:complexType name="PropertyType">
     44                <xsd:simpleContent>
     45                        <xsd:extension base="xsd:string">
     46                                <xsd:attribute name="name" type="xsd:string" use="required"/>
     47                                <xsd:attribute name="value" type="xsd:string" use="optional"/>
     48                        </xsd:extension>
     49                </xsd:simpleContent>
     50        </xsd:complexType>
     51       
     52        <xsd:complexType name="UserStringType">
     53                <xsd:simpleContent>
     54                        <xsd:extension base="xsd:string">
     55                                <xsd:attribute name="name" type="xsd:string" use="required"/>
     56                                <xsd:attribute name="value" type="xsd:string" use="optional"/>
     57                        </xsd:extension>
     58                </xsd:simpleContent>
     59        </xsd:complexType>
     60       
     61        <xsd:complexType name="LayoutImportType">
     62                <xsd:attribute name="filename" type="xsd:string" use="required"/>
     63                <xsd:attribute name="resourceGroup" type="xsd:string" use="optional"  default="" />
     64        </xsd:complexType>
    2765
    28     <xsd:complexType name="AutoWindowType">
    29         <xsd:sequence>
    30             <xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
    31             <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
    32             <xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
    33             <xsd:choice minOccurs="0" maxOccurs="unbounded">
    34                 <xsd:element name="Window" type="WindowType" />
    35                 <xsd:element name="AutoWindow" type="AutoWindowType" />
    36             </xsd:choice>
    37             <xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
    38         </xsd:sequence>
    39         <xsd:attribute name="NameSuffix" type="xsd:string" use="required"/>
    40     </xsd:complexType>
    41 
    42     <xsd:complexType name="PropertyType">
    43         <xsd:simpleContent>
    44             <xsd:extension base="xsd:string">
    45                 <xsd:attribute name="Name" type="xsd:string" use="required"/>
    46                 <xsd:attribute name="Value" type="xsd:string" use="optional"/>
    47             </xsd:extension>
    48         </xsd:simpleContent>
    49     </xsd:complexType>
    50 
    51     <xsd:complexType name="LayoutImportType">
    52         <xsd:attribute name="Filename" type="xsd:string" use="required"/>
    53         <xsd:attribute name="Prefix" type="xsd:string" use="optional" default="" />
    54         <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
    55     </xsd:complexType>
    56 
    57     <xsd:complexType name="EventType">
    58         <xsd:attribute name="Name" type="xsd:string" use="required"/>
    59         <xsd:attribute name="Function" type="xsd:string" use="required"/>
    60     </xsd:complexType>
     66        <xsd:complexType name="EventType">
     67                <xsd:attribute name="name" type="xsd:string" use="required"/>
     68                <xsd:attribute name="function" type="xsd:string" use="required"/>
     69        </xsd:complexType>
    6170
    6271</xsd:schema>
  • 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>
  • code/branches/ogre1.9/data/gui/layouts/GraphicsMenu.layout

    r8079 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/GraphicsBackground" >
    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/GraphicsWindow" >
    11             <Property Name="Text" Value="Graphics" />
    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.15,0},{0.75,0},{0.6375,0}}" />
    18             <Window Type="MenuWidgets/TabControl" Name="orxonox/GraphicsTabControl" >
    19                 <Property Name="TabHeight" Value="{0,26.4388}" />
    20                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    21                 <Property Name="TabPanePosition" Value="Top" />
    22                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
    23                 <Window Type="DefaultWindow" Name="orxonox/Display" >
    24                     <Property Name="Text" Value="Display" />
    25                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    26                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    27                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/Resolution" >
    28                         <Property Name="Text" Value="Resolution" />
    29                         <Property Name="HorzFormatting" Value="HorzCentred" />
    30                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    31                         <Property Name="VertFormatting" Value="TopAligned" />
    32                         <Property Name="UnifiedAreaRect" Value="{{0.025,0},{0.035,0},{0.4875,0},{0.96,0}}" />
    33                         <Window Type="MenuWidgets/Checkbox" Name="orxonox/Display/Resolution/Fullscreen" >
    34                             <Property Name="Text" Value="Fullscreen" />
    35                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    36                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.27,0}}" />
    37                             <Event Name="CheckStateChanged" Function="GraphicsMenu.callback_FullscreenCheckbox_CheckStateChanged" />
    38                         </Window>
    39                         <Window Type="MenuWidgets/Combobox" Name="orxonox/Display/Resolution/Combobox" >
    40                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41                             <Property Name="ClippedByParent" Value="False" />
    42                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.3,0},{0.95,0},{1.2,0}}" />
    43                             <Property Name="MaxEditTextLength" Value="1073741823" />
    44                             <Event Name="ListSelectionAccepted" Function="GraphicsMenu.callback_ResolutionCombobox_ListSelectionAccepted" />
    45                         </Window>
    46                         <Window Type="MenuWidgets/Editbox" Name="orxonox/Display/Resolution/EditboxWidth" >
    47                             <Property Name="MaxTextLength" Value="1073741823" />
    48                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    49                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.45,0},{0.45,0},{0.57,0}}" />
    50                             <Event Name="TextChanged" Function="GraphicsMenu.callback_ResolutionEditboxWidth_TextChanged" />
    51                         </Window>
    52                         <Window Type="MenuWidgets/Editbox" Name="orxonox/Display/Resolution/EditboxHeight" >
    53                             <Property Name="MaxTextLength" Value="1073741823" />
    54                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    55                             <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.45,0},{0.95,0},{0.57,0}}" />
    56                             <Event Name="TextChanged" Function="GraphicsMenu.callback_ResolutionEditboxHeight_TextChanged" />
    57                         </Window>
    58                         <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/Resolution/x" >
    59                             <Property Name="Text" Value="x" />
    60                             <Property Name="FrameEnabled" Value="False" />
    61                             <Property Name="HorzFormatting" Value="HorzCentred" />
    62                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    63                             <Property Name="UnifiedAreaRect" Value="{{0.45,0},{0.45,0},{0.55,0},{0.57,0}}" />
    64                             <Property Name="BackgroundEnabled" Value="False" />
    65                         </Window>
    66                         <Window Type="MenuWidgets/Button" Name="orxonox/Display/Resolution/Apply" >
    67                             <Property Name="Text" Value="Apply" />
    68                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    69                             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.61,0},{0.75,0},{0.73,0}}" />
    70                             <Event Name="Clicked" Function="GraphicsMenu.callback_Apply_Clicked" />
    71                         </Window>
    72                         <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/Resolution/AspectRatioLabel" >
    73                             <Property Name="Text" Value="Aspect Ratio" />
    74                             <Property Name="FrameEnabled" Value="False" />
    75                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    76                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.825,0},{0.6,0},{0.95,0}}" />
    77                             <Property Name="BackgroundEnabled" Value="False" />
    78                         </Window>
    79                         <Window Type="MenuWidgets/Editbox" Name="orxonox/Display/Resolution/AspectRatio" >
    80                             <Property Name="Text" Value="1" />
    81                             <Property Name="MaxTextLength" Value="1073741823" />
    82                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    83                             <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.825,0},{0.95,0},{0.95,0}}" />
    84                         </Window>
    85                     </Window>
    86                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/Theme" >
    87                         <Property Name="Text" Value="Theme" />
    88                         <Property Name="HorzFormatting" Value="HorzCentred" />
    89                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    90                         <Property Name="VertFormatting" Value="TopAligned" />
    91                         <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.035,0},{0.975,0},{0.32,0}}" />
    92                         <Window Type="MenuWidgets/Combobox" Name="orxonox/Display/Theme/Combobox" >
    93                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    94                             <Property Name="ClippedByParent" Value="False" />
    95                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.5,0},{0.95,0},{1.6,0}}" />
    96                             <Property Name="MaxEditTextLength" Value="1073741823" />
    97                             <Event Name="ListSelectionAccepted" Function="GraphicsMenu.callback_ThemeCombobox_ListSelectionAccepted" />
    98                         </Window>
    99                     </Window>
    100                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/More" >
    101                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    102                         <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.37,0},{0.975,0},{0.7,0}}" />
    103                         <Window Type="MenuWidgets/Checkbox" Name="orxonox/Display/More/VSync" >
    104                             <Property Name="Text" Value="VSync" />
    105                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    106                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.95,0},{0.45,0}}" />
    107                             <Event Name="CheckStateChanged" Function="GraphicsMenu.callback_VSyncCheckbox_CheckStateChanged" />
    108                         </Window>
    109                         <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/More/FSAALabel" >
    110                             <Property Name="Text" Value="FSAA" />
    111                             <Property Name="FrameEnabled" Value="False" />
    112                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    113                             <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.3,0},{0.9,0}}" />
    114                             <Property Name="BackgroundEnabled" Value="False" />
    115                         </Window>
    116                         <Window Type="MenuWidgets/Combobox" Name="orxonox/Display/More/FSAA" >
    117                             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    118                             <Property Name="ClippedByParent" Value="False" />
    119                             <Property Name="UnifiedAreaRect" Value="{{0.3,0},{0.55,0},{0.95,0},{2.1,0}}" />
    120                             <Property Name="MaxEditTextLength" Value="1073741823" />
    121                             <Event Name="ListSelectionAccepted" Function="GraphicsMenu.callback_FSAACombobox_ListSelectionAccepted" />
    122                         </Window>
    123                     </Window>
    124                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/Notice" >
    125                         <Property Name="Font" Value="BlueHighway-12" />
    126                         <Property Name="Text" >Changing the theme, FSAA,
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="GraphicsBackground" 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="GraphicsWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Graphics" />
     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.15,0},{0.75,0},{0.6375,0}}" />
     17            <Window name="GraphicsTabControl" type="MenuWidgets/TabControl">
     18                <Property name="TabHeight" value="{0,26.4388}" />
     19                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     20                <Property name="TabPanePosition" value="Top" />
     21                <Property name="Area" value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
     22                <Window name="Display" type="DefaultWindow">
     23                    <Property name="Text" value="Display" />
     24                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     25                    <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     26                    <Window name="Resolution" type="MenuWidgets/StaticText">
     27                        <Property name="Text" value="Resolution" />
     28                        <Property name="HorzFormatting" value="HorzCentred" />
     29                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     30                        <Property name="VertFormatting" value="TopAligned" />
     31                        <Property name="Area" value="{{0.025,0},{0.035,0},{0.4875,0},{0.96,0}}" />
     32                        <Window name="Fullscreen" type="MenuWidgets/Checkbox">
     33                            <Property name="Text" value="Fullscreen" />
     34                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     35                            <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.27,0}}" />
     36                            <Event function="GraphicsMenu.callback_FullscreenCheckbox_CheckStateChanged" name="CheckStateChanged" />
     37                        </Window>
     38                        <Window name="Combobox" type="MenuWidgets/Combobox">
     39                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40                            <Property name="ClippedByParent" value="False" />
     41                            <Property name="Area" value="{{0.05,0},{0.3,0},{0.95,0},{1.2,0}}" />
     42                            <Property name="MaxEditTextLength" value="1073741823" />
     43                            <Event function="GraphicsMenu.callback_ResolutionCombobox_ListSelectionAccepted" name="ListSelectionAccepted" />
     44                        </Window>
     45                        <Window name="EditboxWidth" type="MenuWidgets/Editbox">
     46                            <Property name="MaxTextLength" value="1073741823" />
     47                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     48                            <Property name="Area" value="{{0.05,0},{0.45,0},{0.45,0},{0.57,0}}" />
     49                            <Event function="GraphicsMenu.callback_ResolutionEditboxWidth_TextChanged" name="TextChanged" />
     50                        </Window>
     51                        <Window name="EditboxHeight" type="MenuWidgets/Editbox">
     52                            <Property name="MaxTextLength" value="1073741823" />
     53                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     54                            <Property name="Area" value="{{0.55,0},{0.45,0},{0.95,0},{0.57,0}}" />
     55                            <Event function="GraphicsMenu.callback_ResolutionEditboxHeight_TextChanged" name="TextChanged" />
     56                        </Window>
     57                        <Window name="x" type="MenuWidgets/StaticText">
     58                            <Property name="Text" value="x" />
     59                            <Property name="FrameEnabled" value="False" />
     60                            <Property name="HorzFormatting" value="HorzCentred" />
     61                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     62                            <Property name="Area" value="{{0.45,0},{0.45,0},{0.55,0},{0.57,0}}" />
     63                            <Property name="BackgroundEnabled" value="False" />
     64                        </Window>
     65                        <Window name="Apply" type="MenuWidgets/Button">
     66                            <Property name="Text" value="Apply" />
     67                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     68                            <Property name="Area" value="{{0.25,0},{0.61,0},{0.75,0},{0.73,0}}" />
     69                            <Event function="GraphicsMenu.callback_Apply_Clicked" name="Clicked" />
     70                        </Window>
     71                        <Window name="AspectRatioLabel" type="MenuWidgets/StaticText">
     72                            <Property name="Text" value="Aspect Ratio" />
     73                            <Property name="FrameEnabled" value="False" />
     74                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     75                            <Property name="Area" value="{{0.05,0},{0.825,0},{0.6,0},{0.95,0}}" />
     76                            <Property name="BackgroundEnabled" value="False" />
     77                        </Window>
     78                        <Window name="AspectRatio" type="MenuWidgets/Editbox">
     79                            <Property name="Text" value="1" />
     80                            <Property name="MaxTextLength" value="1073741823" />
     81                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     82                            <Property name="Area" value="{{0.65,0},{0.825,0},{0.95,0},{0.95,0}}" />
     83                        </Window>
     84                    </Window>
     85                    <Window name="Theme" type="MenuWidgets/StaticText">
     86                        <Property name="Text" value="Theme" />
     87                        <Property name="HorzFormatting" value="HorzCentred" />
     88                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     89                        <Property name="VertFormatting" value="TopAligned" />
     90                        <Property name="Area" value="{{0.5125,0},{0.035,0},{0.975,0},{0.32,0}}" />
     91                        <Window name="Combobox" type="MenuWidgets/Combobox">
     92                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     93                            <Property name="ClippedByParent" value="False" />
     94                            <Property name="Area" value="{{0.05,0},{0.5,0},{0.95,0},{1.6,0}}" />
     95                            <Property name="MaxEditTextLength" value="1073741823" />
     96                            <Event function="GraphicsMenu.callback_ThemeCombobox_ListSelectionAccepted" name="ListSelectionAccepted" />
     97                        </Window>
     98                    </Window>
     99                    <Window name="More" type="MenuWidgets/StaticText">
     100                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     101                        <Property name="Area" value="{{0.5125,0},{0.37,0},{0.975,0},{0.7,0}}" />
     102                        <Window name="VSync" type="MenuWidgets/Checkbox">
     103                            <Property name="Text" value="VSync" />
     104                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     105                            <Property name="Area" value="{{0.05,0},{0.1,0},{0.95,0},{0.45,0}}" />
     106                            <Event function="GraphicsMenu.callback_VSyncCheckbox_CheckStateChanged" name="CheckStateChanged" />
     107                        </Window>
     108                        <Window name="FSAALabel" type="MenuWidgets/StaticText">
     109                            <Property name="Text" value="FSAA" />
     110                            <Property name="FrameEnabled" value="False" />
     111                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     112                            <Property name="Area" value="{{0.05,0},{0.55,0},{0.3,0},{0.9,0}}" />
     113                            <Property name="BackgroundEnabled" value="False" />
     114                        </Window>
     115                        <Window name="FSAA" type="MenuWidgets/Combobox">
     116                            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     117                            <Property name="ClippedByParent" value="False" />
     118                            <Property name="Area" value="{{0.3,0},{0.55,0},{0.95,0},{2.1,0}}" />
     119                            <Property name="MaxEditTextLength" value="1073741823" />
     120                            <Event function="GraphicsMenu.callback_FSAACombobox_ListSelectionAccepted" name="ListSelectionAccepted" />
     121                        </Window>
     122                    </Window>
     123                    <Window name="Notice" type="MenuWidgets/StaticText">
     124                        <Property name="Font" value="BlueHighway-12" />
     125                        <Property name="Text">Changing the theme, FSAA,
    127126or VSync requires a restart</Property>
    128                         <Property Name="HorzFormatting" Value="HorzCentred" />
    129                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    130                         <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.75,0},{0.975,0},{0.96,0}}" />
    131                     </Window>
    132                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Display/NoticeRed" >
    133                         <Property Name="Font" Value="BlueHighway-12" />
    134                         <Property Name="Text" >Restart required</Property>
    135                         <Property Name="TextColours" Value="tl:FFFF0000 tr:FFFF8888 bl:FFFF8888 br:FFFFFFFF" />
    136                         <Property Name="HorzFormatting" Value="HorzCentred" />
    137                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    138                         <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.75,0},{0.975,0},{0.96,0}}" />
     127                        <Property name="HorzFormatting" value="HorzCentred" />
     128                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     129                        <Property name="Area" value="{{0.5125,0},{0.75,0},{0.975,0},{0.96,0}}" />
     130                    </Window>
     131                    <Window name="NoticeRed" type="MenuWidgets/StaticText">
     132                        <Property name="Font" value="BlueHighway-12" />
     133                        <Property name="Text">Restart required</Property>
     134                        <Property name="TextColours" value="tl:FFFF0000 tr:FFFF8888 bl:FFFF8888 br:FFFFFFFF" />
     135                        <Property name="HorzFormatting" value="HorzCentred" />
     136                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     137                        <Property name="Area" value="{{0.5125,0},{0.75,0},{0.975,0},{0.96,0}}" />
    139138                    </Window>
    140139                </Window>
    141                 <Window Type="DefaultWindow" Name="orxonox/Settings" >
    142                     <Property Name="Text" Value="Settings" />
    143                     <Property Name="Visible" Value="False" />
    144                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    145                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    146                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Settings/FovLabel" >
    147                         <Property Name="Text" Value="Vertical field of view (FOV)" />
    148                         <Property Name="FrameEnabled" Value="False" />
    149                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    150                         <Property Name="UnifiedAreaRect" Value="{{0.035,0},{0.05,0},{0.5,0},{0.12,0}}" />
    151                         <Property Name="BackgroundEnabled" Value="False" />
    152                     </Window>
    153                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Settings/FpsLimitLabel" >
    154                         <Property Name="Text" Value="Maximal frame rate" />
    155                         <Property Name="FrameEnabled" Value="False" />
    156                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    157                         <Property Name="UnifiedAreaRect" Value="{{0.035,0},{0.18,0},{0.5,0},{0.25,0}}" />
    158                         <Property Name="BackgroundEnabled" Value="False" />
    159                     </Window>
    160                     <Window Type="MenuWidgets/StaticText" Name="orxonox/Settings/ParticleLodLabel" >
    161                         <Property Name="Text" Value="Particle detail level" />
    162                         <Property Name="FrameEnabled" Value="False" />
    163                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    164                         <Property Name="UnifiedAreaRect" Value="{{0.035,0},{0.31,0},{0.5,0},{0.38,0}}" />
    165                         <Property Name="BackgroundEnabled" Value="False" />
    166                     </Window>
    167                     <Window Type="MenuWidgets/Editbox" Name="orxonox/Settings/Fov" >
    168                         <Property Name="MaxTextLength" Value="1073741823" />
    169                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    170                         <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.03,0},{0.65,0},{0.14,0}}" />
    171                     </Window>
    172                     <Window Type="MenuWidgets/Editbox" Name="orxonox/Settings/FpsLimit" >
    173                         <Property Name="MaxTextLength" Value="1073741823" />
    174                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    175                         <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.16,0},{0.65,0},{0.27,0}}" />
    176                     </Window>
    177                     <Window Type="MenuWidgets/Combobox" Name="orxonox/Settings/ParticleLodCombobox" >
    178                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    179                         <Property Name="ClippedByParent" Value="False" />
    180                         <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.29,0},{0.7,0},{0.725,0}}" />
    181                         <Property Name="MaxEditTextLength" Value="1073741823" />
    182                     </Window>
    183                     <Window Type="MenuWidgets/Checkbox" Name="orxonox/Settings/MeshLodCheckbox" >
    184                         <Property Name="Text" Value="Enable mesh LOD" />
    185                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    186                         <Property Name="UnifiedAreaRect" Value="{{0.035,0},{0.44,0},{0.5,0},{0.51,0}}" />
    187                     </Window>
    188                     <Window Type="MenuWidgets/Checkbox" Name="orxonox/Settings/MotionBlurCheckbox" >
    189                         <Property Name="Text" Value="Enable motion blur" />
    190                         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    191                         <Property Name="UnifiedAreaRect" Value="{{0.035,0},{0.57,0},{0.5,0},{0.64,0}}" />
     140                <Window name="Settings" type="DefaultWindow">
     141                    <Property name="Text" value="Settings" />
     142                    <Property name="Visible" value="False" />
     143                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     144                    <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     145                    <Window name="FovLabel" type="MenuWidgets/StaticText">
     146                        <Property name="Text" value="Vertical field of view (FOV)" />
     147                        <Property name="FrameEnabled" value="False" />
     148                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     149                        <Property name="Area" value="{{0.035,0},{0.05,0},{0.5,0},{0.12,0}}" />
     150                        <Property name="BackgroundEnabled" value="False" />
     151                    </Window>
     152                    <Window name="FpsLimitLabel" type="MenuWidgets/StaticText">
     153                        <Property name="Text" value="Maximal frame rate" />
     154                        <Property name="FrameEnabled" value="False" />
     155                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     156                        <Property name="Area" value="{{0.035,0},{0.18,0},{0.5,0},{0.25,0}}" />
     157                        <Property name="BackgroundEnabled" value="False" />
     158                    </Window>
     159                    <Window name="ParticleLodLabel" type="MenuWidgets/StaticText">
     160                        <Property name="Text" value="Particle detail level" />
     161                        <Property name="FrameEnabled" value="False" />
     162                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     163                        <Property name="Area" value="{{0.035,0},{0.31,0},{0.5,0},{0.38,0}}" />
     164                        <Property name="BackgroundEnabled" value="False" />
     165                    </Window>
     166                    <Window name="Fov" type="MenuWidgets/Editbox">
     167                        <Property name="MaxTextLength" value="1073741823" />
     168                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     169                        <Property name="Area" value="{{0.5,0},{0.03,0},{0.65,0},{0.14,0}}" />
     170                    </Window>
     171                    <Window name="FpsLimit" type="MenuWidgets/Editbox">
     172                        <Property name="MaxTextLength" value="1073741823" />
     173                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     174                        <Property name="Area" value="{{0.5,0},{0.16,0},{0.65,0},{0.27,0}}" />
     175                    </Window>
     176                    <Window name="ParticleLodCombobox" type="MenuWidgets/Combobox">
     177                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     178                        <Property name="ClippedByParent" value="False" />
     179                        <Property name="Area" value="{{0.5,0},{0.29,0},{0.7,0},{0.725,0}}" />
     180                        <Property name="MaxEditTextLength" value="1073741823" />
     181                    </Window>
     182                    <Window name="MeshLodCheckbox" type="MenuWidgets/Checkbox">
     183                        <Property name="Text" value="Enable mesh LOD" />
     184                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     185                        <Property name="Area" value="{{0.035,0},{0.44,0},{0.5,0},{0.51,0}}" />
     186                    </Window>
     187                    <Window name="MotionBlurCheckbox" type="MenuWidgets/Checkbox">
     188                        <Property name="Text" value="Enable motion blur" />
     189                        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     190                        <Property name="Area" value="{{0.035,0},{0.57,0},{0.5,0},{0.64,0}}" />
    192191                    </Window>
    193192                </Window>
    194193            </Window>
    195194        </Window>
    196         <Window Type="MenuWidgets/Button" Name="orxonox/GraphicsOkButton" >
    197             <Property Name="Text" Value="OK" />
    198             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    199             <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" />
    200             <Event Name="Clicked" Function="GraphicsMenu.callback_Ok_Clicked" />
     195        <Window name="GraphicsOkButton" type="MenuWidgets/Button">
     196            <Property name="Text" value="OK" />
     197            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     198            <Property name="Area" value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" />
     199            <Event function="GraphicsMenu.callback_Ok_Clicked" name="Clicked" />
    201200        </Window>
    202         <Window Type="MenuWidgets/Button" Name="orxonox/GraphicsCancelButton" >
    203             <Property Name="Text" Value="Cancel" />
    204             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    205             <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" />
    206             <Event Name="Clicked" Function="GraphicsMenu.callback_Cancel_Clicked" />
     201        <Window name="GraphicsCancelButton" type="MenuWidgets/Button">
     202            <Property name="Text" value="Cancel" />
     203            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     204            <Property name="Area" value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" />
     205            <Event function="GraphicsMenu.callback_Cancel_Clicked" name="Clicked" />
    207206        </Window>
    208207    </Window>
  • code/branches/ogre1.9/data/gui/layouts/HostMenu.layout

    r7887 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/HostMenuBackground" >
    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/HostMenuWindow" >
    11             <Property Name="Text" Value="Multiplayer" />
    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.2875,0},{0.75,0},{0.7,0}}" />
    18             <Window Type="MenuWidgets/Listbox" Name="orxonox/HostMenuListbox" >
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="HostMenuBackground" 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="HostMenuWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Multiplayer" />
     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.2875,0},{0.75,0},{0.7,0}}" />
     17            <Window name="HostMenuListbox" type="MenuWidgets/Listbox">
     18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     19                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
    2120            </Window>
    22             <Window Type="MenuWidgets/RadioButton" Name="orxonox/HostMenuHostButton" >
    23                 <Property Name="Text" Value="Build Server"/>
    24                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    25                 <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.87,0},{0.3,0},{0.97,0}}" />
    26                 <Event Name="SelectStateChanged" Function="HostMenu.HostMenuBuildServerButton_clicked"/>
     21            <Window name="HostMenuHostButton" type="MenuWidgets/RadioButton">
     22                <Property name="Text" value="Build Server" />
     23                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     24                <Property name="Area" value="{{0.1,0},{0.87,0},{0.3,0},{0.97,0}}" />
     25                <Event function="HostMenu.HostMenuBuildServerButton_clicked" name="SelectStateChanged" />
    2726            </Window>
    28             <Window Type="MenuWidgets/RadioButton" Name="orxonox/HostMenuDedicatedButton" >
    29                 <Property Name="Text" Value="Dedicated" />
    30                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    31                 <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.87,0},{0.7,0},{0.97,0}}" />
    32                 <Event Name="SelectStateChanged" Function="HostMenu.HostMenuDedicatedButton_clicked"/>
     27            <Window name="HostMenuDedicatedButton" type="MenuWidgets/RadioButton">
     28                <Property name="Text" value="Dedicated" />
     29                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     30                <Property name="Area" value="{{0.5,0},{0.87,0},{0.7,0},{0.97,0}}" />
     31                <Event function="HostMenu.HostMenuDedicatedButton_clicked" name="SelectStateChanged" />
    3332            </Window>
    34             <Window Type="MenuWidgets/Checkbox" Name="orxonox/MultiplayerShowAllCheckbox" >
    35                 <Property Name="Text" Value="show all" />
    36                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    37                 <Property Name="UnifiedAreaRect" Value="{{0.8,0},{0.87,0},{1,0},{.97,0}}" />
    38                 <Event Name="CheckStateChanged" Function="HostMenu.MultiplayerShowAll_clicked"/>
     33            <Window name="MultiplayerShowAllCheckbox" type="MenuWidgets/Checkbox">
     34                <Property name="Text" value="show all" />
     35                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     36                <Property name="Area" value="{{0.8,0},{0.87,0},{1,0},{.97,0}}" />
     37                <Event function="HostMenu.MultiplayerShowAll_clicked" name="CheckStateChanged" />
    3938            </Window>
    4039        </Window>
    41         <Window Type="MenuWidgets/Button" Name="orxonox/HostMenuStartButton" >
    42             <Property Name="Text" Value="Start" />
    43             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    44             <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
    45             <Event Name="Clicked" Function="HostMenu.HostMenuStartButton_clicked"/>
     40        <Window name="HostMenuStartButton" type="MenuWidgets/Button">
     41            <Property name="Text" value="Start" />
     42            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     43            <Property name="Area" value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
     44            <Event function="HostMenu.HostMenuStartButton_clicked" name="Clicked" />
    4645        </Window>
    47         <Window Type="MenuWidgets/Button" Name="orxonox/HostMenuBackButton" >
    48             <Property Name="Text" Value="Back" />
    49             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    50             <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
    51             <Event Name="Clicked" Function="HostMenu.HostMenuBackButton_clicked"/>
     46        <Window name="HostMenuBackButton" type="MenuWidgets/Button">
     47            <Property name="Text" value="Back" />
     48            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     49            <Property name="Area" value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
     50            <Event function="HostMenu.HostMenuBackButton_clicked" name="Clicked" />
    5251        </Window>
    5352    </Window>
    5453</GUILayout>
    55 
  • code/branches/ogre1.9/data/gui/layouts/InGameMenu.layout

    r11052 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/InGameMenu_RootWindow" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_ReturnButton" >
    9             <Property Name="Text" Value="Return to Game" />
    10             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    11             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.2875,0},{0.6,0},{0.3375,0}}" />
    12             <Property Name="Alpha" Value="0.9" />
    13             <Event Name="Clicked" Function="InGameMenu.button_return_clicked"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="InGameMenu_RootWindow" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="InGameMenu_ReturnButton" type="MenuWidgets/Button">
     8            <Property name="Text" value="Return to Game" />
     9            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     10            <Property name="Area" value="{{0.4,0},{0.2875,0},{0.6,0},{0.3375,0}}" />
     11            <Property name="Alpha" value="0.9" />
     12            <Event function="InGameMenu.button_return_clicked" name="Clicked" />
    1413        </Window>
    15         <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_ReloadLevelButton" >
    16             <Property Name="Text" Value="Reload level" />
    17             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    18             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
    19             <Property Name="Alpha" Value="0.9" />
    20             <Event Name="Clicked" Function="InGameMenu.button_reloadLevel_clicked"/>
     14        <Window name="InGameMenu_ReloadLevelButton" type="MenuWidgets/Button">
     15            <Property name="Text" value="Reload level" />
     16            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     17            <Property name="Area" value="{{0.4,0},{0.3625,0},{0.6,0},{0.4125,0}}" />
     18            <Property name="Alpha" value="0.9" />
     19            <Event function="InGameMenu.button_reloadLevel_clicked" name="Clicked" />
    2120        </Window>
    22         <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_MainMenuButton" >
    23             <Property Name="Text" Value="Main Menu" />
    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             <Property Name="Alpha" Value="0.9" />
    27             <Event Name="Clicked" Function="InGameMenu.button_mainmenu_clicked"/>
     21        <Window name="InGameMenu_MainMenuButton" type="MenuWidgets/Button">
     22            <Property name="Text" value="Main Menu" />
     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            <Property name="Alpha" value="0.9" />
     26            <Event function="InGameMenu.button_mainmenu_clicked" name="Clicked" />
    2827        </Window>
    29         <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_SettingsButton" >
    30             <Property Name="Text" Value="Settings" />
    31             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    32             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5125,0},{0.6,0},{0.5625,0}}" />
    33             <Property Name="Alpha" Value="0.9" />
    34             <Event Name="Clicked" Function="InGameMenu.button_settings_clicked"/>
     28        <Window name="InGameMenu_SettingsButton" type="MenuWidgets/Button">
     29            <Property name="Text" value="Settings" />
     30            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     31            <Property name="Area" value="{{0.4,0},{0.5125,0},{0.6,0},{0.5625,0}}" />
     32            <Property name="Alpha" value="0.9" />
     33            <Event function="InGameMenu.button_settings_clicked" name="Clicked" />
    3534        </Window>
    36         <Window Type="MenuWidgets/Button" Name="orxonox/InGameMenu_QuitButton" >
    37             <Property Name="Text" Value="Quit" />
    38             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    39             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5875,0},{0.6,0},{0.6375,0}}" />
    40             <Property Name="Alpha" Value="0.9" />
    41             <Event Name="Clicked" Function="InGameMenu.button_quit_clicked"/>
     35        <Window name="InGameMenu_QuitButton" type="MenuWidgets/Button">
     36            <Property name="Text" value="Quit" />
     37            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     38            <Property name="Area" value="{{0.4,0},{0.5875,0},{0.6,0},{0.6375,0}}" />
     39            <Property name="Alpha" value="0.9" />
     40            <Event function="InGameMenu.button_quit_clicked" name="Clicked" />
    4241        </Window>
    4342    </Window>
  • code/branches/ogre1.9/data/gui/layouts/InGamePickupHUD.layout

    r9348 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout>
    4     <Window Type="DefaultWindow" Name="orxonox/InGamePickupHUD_RootWindow" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="TaharezLook/StaticImage" Name="orxonox/InGamePickupHUD_Overview" >
    9             <Property Name="Font" Value="BlueHighway-12" />
    10             <Property Name="Text" Value="Pickup List" />
    11             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12             <Property Name="UnifiedAreaRect" Value="{{0,5},{0.15,0},{0.2,0},{0.45,0}}" />
    13             <Property Name="Alpha" Value="0.3" />
    14             <!--Event Name="Clicked" Function="InGameMenu.button_return_clicked"/-->
    15             <Window Type="TaharezLook/StaticText" Name="orxonox/InGamePickupHUD_PickupTitle" >
    16                 <Property Name="Alpha" Value="0.8"/>
    17                 <Property Name="Text" Value="Pickup List" />
    18                 <Property Name="Font" Value="BlueHighway-10" />
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,-20},{0,20}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="InGamePickupHUD_RootWindow" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="InGamePickupHUD_Overview" type="TaharezLook/StaticImage">
     8            <Property name="Font" value="BlueHighway-12" />
     9            <Property name="Text" value="Pickup List" />
     10            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     11            <Property name="Area" value="{{0,5},{0.15,0},{0.2,0},{0.45,0}}" />
     12            <Property name="Alpha" value="0.3" />
     13            <Window name="InGamePickupHUD_PickupTitle" type="TaharezLook/StaticText">
     14                <Property name="Alpha" value="0.8" />
     15                <Property name="Text" value="Pickup List" />
     16                <Property name="Font" value="BlueHighway-10" />
     17                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     18                <Property name="Area" value="{{0,0},{0,0},{1,-20},{0,20}}" />
    2119            </Window>
    22             <Window Type="TaharezLook/Button" Name="orxonox/InGamePickupHUD_closeButton" >
    23                 <Property Name="Alpha" Value="0.8" />
    24                 <Property Name="Font" Value="BlueHighway-12" />
    25                 <Property Name="Text" Value="X" />
    26                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    27                 <Property Name="UnifiedAreaRect" Value="{{1,-20},{0,0},{1,0},{0,20}}" />
    28                 <!-- alle Grössen / anordnungen angepasst - da überschneidungen von absoluten
    29                 und relativen Positionsangaben (problematisch bei kleinen auflösungen) -->
    30                 <Event Name="Clicked" Function="InGamePickupHUD.close_button_clicked"/>
     20            <Window name="InGamePickupHUD_closeButton" type="TaharezLook/Button">
     21                <Property name="Alpha" value="0.8" />
     22                <Property name="Font" value="BlueHighway-12" />
     23                <Property name="Text" value="X" />
     24                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     25                <Property name="Area" value="{{1,-20},{0,0},{1,0},{0,20}}" />
     26                <Event function="InGamePickupHUD.close_button_clicked" name="Clicked" />
    3127            </Window>
    32             <Window Type="TaharezLook/Listbox" Name="orxonox/InGamePickupHUD_PickupListBox">
    33                 <Property Name="Alpha" Value="0.8" />
    34                 <Property Name="Font" Value="BlueHighway-12" />
    35                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    36                 <Property Name="UnifiedAreaRect" Value="{{0,5},{0,25},{1,-5},{1,-5}}" />
    37                 <!--
    38                 <Window Type="TaharezLook/ListboxItem" Name="orxonox/InGamePickupHUD_TestPickupOne">
    39                     <Property Name="Alpha" Value="0.8" />
    40                     <Property Name="Font" Value="BlueHighway-12" />
    41                     <Property Name="Text" Value="First Pickup" />
    42                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    43                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0,30},{1,0}}" />
    44                 </Window>
    45                 -->
     28            <Window name="InGamePickupHUD_PickupListBox" type="TaharezLook/Listbox">
     29                <Property name="Alpha" value="0.8" />
     30                <Property name="Font" value="BlueHighway-12" />
     31                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     32                <Property name="Area" value="{{0,5},{0,25},{1,-5},{1,-5}}" />
    4633            </Window>
    4734        </Window>
  • code/branches/ogre1.9/data/gui/layouts/InGameTest.layout

    r6746 r11211  
    1 <?xml version="1.0" ?>
    2 <GUILayout>
    3     <Window Type="DefaultGUISheet" Name="orxonox/TestWindow">
    4     <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/>
    5 
    6         <Window Type="MenuWidgets/Button" Name="orxonox/TestButton">
    7             <Property Name="UnifiedPosition" Value="{{0.11,0},{0.528,0}}"/>
    8             <Property Name="UnifiedSize" Value="{{0.15,0},{0.05,0}}"/>
    9             <Property Name="Text" Value="NoFunction"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="TestWindow" type="DefaultGUISheet">
     4        <Property name="Size" value="{{1.0,0},{1.0,0}}" />
     5        <Window name="TestButton" type="MenuWidgets/Button">
     6            <Property name="Position" value="{{0.11,0},{0.528,0}}" />
     7            <Property name="Size" value="{{0.15,0},{0.05,0}}" />
     8            <Property name="Text" value="NoFunction" />
    109        </Window>
    11 
    1210    </Window>
    1311</GUILayout>
  • code/branches/ogre1.9/data/gui/layouts/InfoPopup.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/InfoPopup_RootWindow" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/StaticImage" Name="orxonox/InfoPopup_Background" >
    9             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    10             <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    11             <Property Name="Alpha" Value="0.7" />
    12             <Window Type="MenuWidgets/Button" Name="orxonox/InfoPopup_close" >
    13                 <Property Name="Text" Value="Close" />
    14                 <Property Name="Alpha" Value="0.7" />
    15                 <Property Name="InheritsAlpha" Value="False" />
    16                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    17                 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.5,0},{0.6,0},{0.55,0}}" />
    18                 <Event Name="Clicked" Function="InfoPopup.close"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="InfoPopup_RootWindow" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="InfoPopup_Background" type="MenuWidgets/StaticImage">
     8            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     9            <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     10            <Property name="Alpha" value="0.7" />
     11            <Window name="InfoPopup_close" type="MenuWidgets/Button">
     12                <Property name="Text" value="Close" />
     13                <Property name="Alpha" value="0.7" />
     14                <Property name="InheritsAlpha" value="False" />
     15                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     16                <Property name="Area" value="{{0.4,0},{0.5,0},{0.6,0},{0.55,0}}" />
     17                <Event function="InfoPopup.close" name="Clicked" />
    1918            </Window>
    20             <Window Type="MenuWidgets/StaticText" Name="orxonox/InfoPopup_text" >
    21                 <Property Name="Text" Value="Template text" />
    22                 <Property Name="TextColours" Value="FF4444FF" />
    23                 <Property Name="HorzFormatting" Value="WordWrapCentred" />
    24                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    25                 <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.375,0},{0.75,0},{0.475,0}}" />
    26                 <Property Name="InheritsAlpha" Value="False" />
    27                <Property Name="Alpha" Value="0.8" />
     19            <Window name="InfoPopup_text" type="MenuWidgets/StaticText">
     20                <Property name="Text" value="Template text" />
     21                <Property name="TextColours" value="FF4444FF" />
     22                <Property name="HorzFormatting" value="WordWrapCentred" />
     23                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     24                <Property name="Area" value="{{0.25,0},{0.375,0},{0.75,0},{0.475,0}}" />
     25                <Property name="InheritsAlpha" value="False" />
     26                <Property name="Alpha" value="0.8" />
    2827            </Window>
    2928        </Window>
  • code/branches/ogre1.9/data/gui/layouts/KeyBindMenu.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/KeyBindMenu/Background" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/StaticText" Name="orxonox/KeyBindWindow" >
    9             <Property Name="Text" Value="Keybindings" />
    10             <Property Name="Alpha" Value="0.8" />
    11             <Property Name="InheritsAlpha" Value="False" />
    12             <Property Name="HorzFormatting" Value="HorzCentred" />
    13             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    14             <Property Name="VertFormatting" Value="TopAligned" />
    15             <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
    16             <Window Type="MenuWidgets/StaticText" Name="orxonox/KeyBindWrapper" >
    17                 <Property Name="TextColours" Value="FF4444FF" />
    18                 <Property Name="InheritsAlpha" Value="False" />
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="HorzFormatting" Value="HorzCentred" />
    21                 <Property Name="VertFormatting" Value="TopAligned" />
    22                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
    23                 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/KeyBindPane" >
    24                     <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
    25                     <Property Name="HorzStepSize" Value="0.005" />
    26                     <Property Name="VertStepSize" Value="0.005" />
    27                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    28                     <Property Name="HorzOverlapSize" Value="0.01" />
    29                     <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
    30                     <Property Name="VertOverlapSize" Value="0.01" />
    31                     <Property Name="HorzScrollPosition" Value="0" />
    32                     <Property Name="VertScrollPosition" Value="0" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="KeyBindWindow" type="MenuWidgets/StaticText">
     8            <Property name="Text" value="Keybindings" />
     9            <Property name="Alpha" value="0.8" />
     10            <Property name="InheritsAlpha" value="False" />
     11            <Property name="HorzFormatting" value="HorzCentred" />
     12            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     13            <Property name="VertFormatting" value="TopAligned" />
     14            <Property name="Area" value="{{0.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
     15            <Window name="KeyBindWrapper" type="MenuWidgets/StaticText">
     16                <Property name="TextColours" value="FF4444FF" />
     17                <Property name="InheritsAlpha" value="False" />
     18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     19                <Property name="HorzFormatting" value="HorzCentred" />
     20                <Property name="VertFormatting" value="TopAligned" />
     21                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
     22                <Window name="KeyBindPane" type="MenuWidgets/ScrollablePane">
     23                    <Property name="ContentArea" value="l:0 t:0 r:0 b:0" />
     24                    <Property name="HorzStepSize" value="0.005" />
     25                    <Property name="VertStepSize" value="0.005" />
     26                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     27                    <Property name="HorzOverlapSize" value="0.01" />
     28                    <Property name="Area" value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
     29                    <Property name="VertOverlapSize" value="0.01" />
     30                    <Property name="HorzScrollPosition" value="0" />
     31                    <Property name="VertScrollPosition" value="0" />
    3332                </Window>
    3433            </Window>
    3534        </Window>
    36         <Window Type="MenuWidgets/Button" Name="orxonox/KeyBindBackButton" >
    37             <Property Name="Text" Value="Back" />
    38             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    39             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    40             <Event Name="Clicked" Function="KeyBindMenu.KeyBindBackButton_clicked"/>
     35        <Window name="KeyBindBackButton" type="MenuWidgets/Button">
     36            <Property name="Text" value="Back" />
     37            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     38            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     39            <Event function="KeyBindMenu.KeyBindBackButton_clicked" name="Clicked" />
    4140        </Window>
    4241    </Window>
  • 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>
  • code/branches/ogre1.9/data/gui/layouts/MainMenuBackground.layout

    r7689 r11211  
    1 <?xml version="1.0" ?>
    2 <GUILayout>
    3     <Window Type="MenuWidgets/StaticImage" Name="orxonox/Background">
    4         <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/>
    5         <Property Name="Image" Value="set:MainMenuBackground image:Background"/>
    6         <Property Name="FrameEnabled" Value="set:true"/>
    7         <Property Name="BackgroundEnabled" Value="set:false"/>
    8         <Property Name="InheritsAlpha" Value="False" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" type="MenuWidgets/StaticImage">
     4        <Property name="Size" value="{{1.0,0},{1.0,0}}" />
     5        <Property name="Image" value="MainMenuBackground/Background" />
     6        <Property name="FrameEnabled" value="set:true" />
     7        <Property name="BackgroundEnabled" value="set:false" />
     8        <Property name="InheritsAlpha" value="False" />
    99    </Window>
    1010</GUILayout>
  • code/branches/ogre1.9/data/gui/layouts/MiscConfigMenu.layout

    r9016 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/MiscConfigMenu/Background" >
    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/MicsConfigMenu/ConfigWindow" >
    11             <Property Name="Text" Value="Miscellaneous" />
    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.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
    18             <Window Type="MenuWidgets/StaticText" Name="orxonox/MiscConfigMenu/Wrapper" >
    19                 <Property Name="TextColours" Value="FF4444FF" />
    20                 <Property Name="InheritsAlpha" Value="False" />
    21                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22                 <Property Name="HorzFormatting" Value="HorzCentred" />
    23                 <Property Name="VertFormatting" Value="TopAligned" />
    24                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
    25                 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/MiscConfigMenu/MiscConfigPane" >
    26                     <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
    27                     <Property Name="HorzStepSize" Value="0.005" />
    28                     <Property Name="VertStepSize" Value="0.005" />
    29                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    30                     <Property Name="HorzOverlapSize" Value="0.01" />
    31                     <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
    32                     <Property Name="VertOverlapSize" Value="0.01" />
    33                     <Property Name="HorzScrollPosition" Value="0" />
    34                     <Property Name="VertScrollPosition" Value="0" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" 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="ConfigWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Miscellaneous" />
     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.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
     17            <Window name="Wrapper" type="MenuWidgets/StaticText">
     18                <Property name="TextColours" value="FF4444FF" />
     19                <Property name="InheritsAlpha" value="False" />
     20                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     21                <Property name="HorzFormatting" value="HorzCentred" />
     22                <Property name="VertFormatting" value="TopAligned" />
     23                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
     24                <Window name="MiscConfigPane" type="MenuWidgets/ScrollablePane">
     25                    <Property name="ContentArea" value="l:0 t:0 r:0 b:0" />
     26                    <Property name="HorzStepSize" value="0.005" />
     27                    <Property name="VertStepSize" value="0.005" />
     28                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     29                    <Property name="HorzOverlapSize" value="0.01" />
     30                    <Property name="Area" value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
     31                    <Property name="VertOverlapSize" value="0.01" />
     32                    <Property name="HorzScrollPosition" value="0" />
     33                    <Property name="VertScrollPosition" value="0" />
    3534                </Window>
    3635            </Window>
    3736        </Window>
    38         <Window Type="MenuWidgets/Button" Name="orxonox/MiscConfigMenu/CancelButton" >
    39             <Property Name="Text" Value="Cancel" />
    40             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
    42             <Event Name="Clicked" Function="MiscConfigMenu.MiscConfigCancelButton_clicked"/>
     37        <Window name="CancelButton" type="MenuWidgets/Button">
     38            <Property name="Text" value="Cancel" />
     39            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40            <Property name="Area" value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
     41            <Event function="MiscConfigMenu.MiscConfigCancelButton_clicked" name="Clicked" />
    4342        </Window>
    44         <Window Type="MenuWidgets/Button" Name="orxonox/MiscConfigMenu/OKButton" >
    45             <Property Name="Text" Value="OK" />
    46             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    47             <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
    48             <Event Name="Clicked" Function="MiscConfigMenu.MiscConfigOKButton_clicked"/>
     43        <Window name="OKButton" type="MenuWidgets/Button">
     44            <Property name="Text" value="OK" />
     45            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     46            <Property name="Area" value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
     47            <Event function="MiscConfigMenu.MiscConfigOKButton_clicked" name="Clicked" />
    4948        </Window>
    5049    </Window>
  • code/branches/ogre1.9/data/gui/layouts/MouseControlsMenu.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/MouseControlsBackground" >
    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/MouseControlsWindow" >
    11             <Property Name="Text" Value="Mouse 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/StaticText" Name="orxonox/MouseNormalSensitivity" >
    19                 <Property Name="Text" Value="Sensitivity (normal mode)                                      " />
    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.95,0},{0.45,0}}" />
    25                 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MouseNormalScrollbar" >
    26                     <Property Name="PageSize" Value="0" />
    27                     <Property Name="StepSize" Value="1" />
    28                     <Property Name="OverlapSize" Value="0" />
    29                     <Property Name="DocumentSize" Value="1" />
    30                     <Property Name="ScrollPosition" Value="0" />
    31                     <Property Name="StepSize" Value="0.1" />
    32                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    33                     <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
    34                     <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_started" />
    35                     <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_ended" />
    36                     <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_changed" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="MouseControlsBackground" 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="MouseControlsWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Mouse 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="MouseNormalSensitivity" type="MenuWidgets/StaticText">
     18                <Property name="Text" value="Sensitivity (normal mode)                                      " />
     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.95,0},{0.45,0}}" />
     24                <Window name="MouseNormalScrollbar" type="MenuWidgets/HorizontalScrollbar">
     25                    <Property name="PageSize" value="0" />
     26                    <Property name="StepSize" value="1" />
     27                    <Property name="OverlapSize" value="0" />
     28                    <Property name="DocumentSize" value="1" />
     29                    <Property name="ScrollPosition" value="0" />
     30                    <Property name="StepSize" value="0.1" />
     31                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     32                    <Property name="Area" value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
     33                    <Event function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_started" name="ThumbTrackStarted" />
     34                    <Event function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_ended" name="ThumbTrackEnded" />
     35                    <Event function="MouseControlsMenu.MouseControlsMouseNormalScrollbar_changed" name="ScrollPosChanged" />
    3736                </Window>
    38                 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MouseNormalButton" >
    39                     <Property Name="Text" Value="Normal mouse input" />
    40                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41                     <Property Name="UnifiedAreaRect" Value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
    42                     <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseNormalButton_clicked" />
     37                <Window name="MouseNormalButton" type="MenuWidgets/RadioButton">
     38                    <Property name="Text" value="Normal mouse input" />
     39                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40                    <Property name="Area" value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
     41                    <Event function="MouseControlsMenu.MouseNormalButton_clicked" name="SelectStateChanged" />
    4342                </Window>
    4443            </Window>
    45             <Window Type="MenuWidgets/StaticText" Name="orxonox/MouseDeriveSensitivity" >
    46                 <Property Name="Text" Value="Sensitivity (derive mode)                                      " />
    47                 <Property Name="InheritsAlpha" Value="False" />
    48                 <Property Name="HorzFormatting" Value="HorzCentred" />
    49                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    50                 <Property Name="VertFormatting" Value="TopAligned" />
    51                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" />
    52                 <Window Type="MenuWidgets/HorizontalScrollbar" Name="orxonox/MouseDeriveScrollbar" >
    53                     <Property Name="PageSize" Value="0" />
    54                     <Property Name="StepSize" Value="1" />
    55                     <Property Name="OverlapSize" Value="0" />
    56                     <Property Name="DocumentSize" Value="1" />
    57                     <Property Name="ScrollPosition" Value="0" />
    58                     <Property Name="StepSize" Value="0.1" />
    59                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    60                     <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
    61                     <Event Name="ThumbTrackStarted" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_started" />
    62                     <Event Name="ThumbTrackEnded" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_ended" />
    63                     <Event Name="ScrollPosChanged" Function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_changed" />
     44            <Window name="MouseDeriveSensitivity" type="MenuWidgets/StaticText">
     45                <Property name="Text" value="Sensitivity (derive mode)                                      " />
     46                <Property name="InheritsAlpha" value="False" />
     47                <Property name="HorzFormatting" value="HorzCentred" />
     48                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     49                <Property name="VertFormatting" value="TopAligned" />
     50                <Property name="Area" value="{{0.05,0},{0.55,0},{0.95,0},{0.8,0}}" />
     51                <Window name="MouseDeriveScrollbar" type="MenuWidgets/HorizontalScrollbar">
     52                    <Property name="PageSize" value="0" />
     53                    <Property name="StepSize" value="1" />
     54                    <Property name="OverlapSize" value="0" />
     55                    <Property name="DocumentSize" value="1" />
     56                    <Property name="ScrollPosition" value="0" />
     57                    <Property name="StepSize" value="0.1" />
     58                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     59                    <Property name="Area" value="{{0.02,0},{0.6,0},{0.565,0},{0.8,0}}" />
     60                    <Event function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_started" name="ThumbTrackStarted" />
     61                    <Event function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_ended" name="ThumbTrackEnded" />
     62                    <Event function="MouseControlsMenu.MouseControlsMouseDeriveScrollbar_changed" name="ScrollPosChanged" />
    6463                </Window>
    65                 <Window Type="MenuWidgets/RadioButton" Name="orxonox/MouseDeriveButton" >
    66                     <Property Name="Text" Value="Derive mouse input" />
    67                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    68                     <Property Name="UnifiedAreaRect" Value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
    69                     <Event Name="SelectStateChanged" Function="MouseControlsMenu.MouseDeriveButton_clicked" />
     64                <Window name="MouseDeriveButton" type="MenuWidgets/RadioButton">
     65                    <Property name="Text" value="Derive mouse input" />
     66                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     67                    <Property name="Area" value="{{0.61,0},{0.5,0},{0.975,0},{0.85,0}}" />
     68                    <Event function="MouseControlsMenu.MouseDeriveButton_clicked" name="SelectStateChanged" />
    7069                </Window>
    7170            </Window>
    72             <Window Type="MenuWidgets/Checkbox" Name="orxonox/MouseInvertCheckbox" >
    73                 <Property Name="Text" Value="Invert mouse" />
    74                 <Property Name="Disabled" Value="true" />
    75                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    76                 <Property Name="UnifiedAreaRect" Value="{{0.39,0},{0.85,0},{0.61,0},{0.95,0}}" />
    77                 <Event Name="CheckStateChanged" Function="MouseControlsMenu.MouseInvertCheckbox_clicked" />
     71            <Window name="MouseInvertCheckbox" type="MenuWidgets/Checkbox">
     72                <Property name="Text" value="Invert mouse" />
     73                <Property name="Disabled" value="true" />
     74                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     75                <Property name="Area" value="{{0.39,0},{0.85,0},{0.61,0},{0.95,0}}" />
     76                <Event function="MouseControlsMenu.MouseInvertCheckbox_clicked" name="CheckStateChanged" />
    7877            </Window>
    7978        </Window>
    80         <Window Type="MenuWidgets/Button" Name="orxonox/MouseControlsBackButton" >
    81             <Property Name="Text" Value="Back" />
    82             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    83             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
    84             <Event Name="Clicked" Function="MouseControlsMenu.MouseControlsBackButton_clicked"/>
     79        <Window name="MouseControlsBackButton" type="MenuWidgets/Button">
     80            <Property name="Text" value="Back" />
     81            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     82            <Property name="Area" value="{{0.4,0},{0.6625,0},{0.6,0},{0.7125,0}}" />
     83            <Event function="MouseControlsMenu.MouseControlsBackButton_clicked" name="Clicked" />
    8584        </Window>
    8685    </Window>
  • code/branches/ogre1.9/data/gui/layouts/MultiplayerMenu.layout

    r7801 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/MultiplayerBackground" >
    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/MultiplayerWindow" >
    11             <Property Name="Text" Value="Multiplayer" />
    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.2875,0},{0.75,0},{0.6375,0}}" />
    18             <Window Type="MenuWidgets/Listbox" Name="orxonox/MultiplayerListbox" >
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.8,0}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="MultiplayerBackground" 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="MultiplayerWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Multiplayer" />
     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.2875,0},{0.75,0},{0.6375,0}}" />
     17            <Window name="MultiplayerListbox" type="MenuWidgets/Listbox">
     18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     19                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.8,0}}" />
    2120            </Window>
    22             <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerLanButton" >
    23                 <Property Name="Text" Value="LAN"/>
    24                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    25                 <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.87,0},{0.4,0},{0.97,0}}" />
    26                 <Event Name="SelectStateChanged" Function="MultiplayerMenu.LanButton_clicked"/>
     21            <Window name="MultiplayerLanButton" type="MenuWidgets/RadioButton">
     22                <Property name="Text" value="LAN" />
     23                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     24                <Property name="Area" value="{{0.2,0},{0.87,0},{0.4,0},{0.97,0}}" />
     25                <Event function="MultiplayerMenu.LanButton_clicked" name="SelectStateChanged" />
    2726            </Window>
    28             <Window Type="MenuWidgets/RadioButton" Name="orxonox/MultiplayerInternetButton" >
    29                 <Property Name="Text" Value="Internet" />
    30                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    31                 <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.87,0},{0.8,0},{0.97,0}}" />
    32                 <Event Name="SelectStateChanged" Function="MultiplayerMenu.InternetButton_clicked"/>
     27            <Window name="MultiplayerInternetButton" type="MenuWidgets/RadioButton">
     28                <Property name="Text" value="Internet" />
     29                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     30                <Property name="Area" value="{{0.6,0},{0.87,0},{0.8,0},{0.97,0}}" />
     31                <Event function="MultiplayerMenu.InternetButton_clicked" name="SelectStateChanged" />
    3332            </Window>
    3433        </Window>
    35          <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerBackButton" >
    36             <Property Name="Text" Value="Back" />
    37             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    38             <Property Name="UnifiedAreaRect" Value="{{0.7125,0},{0.8625,0},{0.9125,0},{0.9125,0}}" />
    39             <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerBackButton_clicked"/>
     34        <Window name="MultiplayerBackButton" type="MenuWidgets/Button">
     35            <Property name="Text" value="Back" />
     36            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     37            <Property name="Area" value="{{0.7125,0},{0.8625,0},{0.9125,0},{0.9125,0}}" />
     38            <Event function="MultiplayerMenu.MultiplayerBackButton_clicked" name="Clicked" />
    4039        </Window>
    41         <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerJoinButton" >
    42             <Property Name="Text" Value="Join" />
    43             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    44             <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" />
    45             <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerJoinButton_clicked"/>
     40        <Window name="MultiplayerJoinButton" type="MenuWidgets/Button">
     41            <Property name="Text" value="Join" />
     42            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     43            <Property name="Area" value="{{0.2875,0},{0.6625,0},{0.4875,0},{0.7125,0}}" />
     44            <Event function="MultiplayerMenu.MultiplayerJoinButton_clicked" name="Clicked" />
    4645        </Window>
    47         <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerHostButton" >
    48             <Property Name="Text" Value="Host" />
    49             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    50             <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" />
    51             <Event Name="Clicked" Function="MultiplayerMenu.MultiplayerHostButton_clicked"/>
     46        <Window name="MultiplayerHostButton" type="MenuWidgets/Button">
     47            <Property name="Text" value="Host" />
     48            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     49            <Property name="Area" value="{{0.5125,0},{0.6625,0},{0.7125,0},{0.7125,0}}" />
     50            <Event function="MultiplayerMenu.MultiplayerHostButton_clicked" name="Clicked" />
    5251        </Window>
    5352    </Window>
    5453</GUILayout>
    55 
  • code/branches/ogre1.9/data/gui/layouts/MultiplayerOptionsMenu.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/MultiplayerOptionsBackground" >
    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/MultiplayerOptionsWindow" >
    11             <Property Name="Text" Value="Multiplayer options" />
    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}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="MultiplayerOptionsBackground" 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="MultiplayerOptionsWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Multiplayer options" />
     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}}" />
    1817        </Window>
    19         <Window Type="MenuWidgets/Button" Name="orxonox/MultiplayerOptionsBackButton" >
    20             <Property Name="Text" Value="Back" />
    21             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" />
    23             <Event Name="Clicked" Function="MultiplayerOptionsMenu.MultiplayerOptionsBackButton_clicked"/>
     18        <Window name="MultiplayerOptionsBackButton" type="MenuWidgets/Button">
     19            <Property name="Text" value="Back" />
     20            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     21            <Property name="Area" value="{{0.4,0},{0.625,0},{0.6,0},{0.675,0}}" />
     22            <Event function="MultiplayerOptionsMenu.MultiplayerOptionsBackButton_clicked" name="Clicked" />
    2423        </Window>
    2524    </Window>
  • code/branches/ogre1.9/data/gui/layouts/NotificationLayer.layout

    r7887 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/NotificationLayer/Root" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Root" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
    87    </Window>
    98</GUILayout>
  • code/branches/ogre1.9/data/gui/layouts/PickupInventory.layout

    r6746 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="DefaultWindow" Name="orxonox/PickupInventory/Background" >
    5         <Property Name="InheritsAlpha" Value="False" />
    6         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    7         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/StaticText" Name="orxonox/PickupInventory/PickupInventory" >
    9             <Property Name="Text" Value="Pickup Inventory" />
    10             <Property Name="Alpha" Value="0.8" />
    11             <Property Name="InheritsAlpha" Value="False" />
    12             <Property Name="HorzFormatting" Value="HorzCentred" />
    13             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    14             <Property Name="VertFormatting" Value="TopAligned" />
    15             <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.15,0},{0.85,0},{0.8,0}}" />
    16             <Window Type="MenuWidgets/StaticText" Name="orxonox/PickupInventory/Wrapper" >
    17                 <Property Name="TextColours" Value="FF4444FF" />
    18                 <Property Name="InheritsAlpha" Value="False" />
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="HorzFormatting" Value="HorzCentred" />
    21                 <Property Name="VertFormatting" Value="TopAligned" />
    22                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
    23                 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/PickupInventory/Inventory" >
    24                     <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
    25                     <Property Name="HorzStepSize" Value="0.005" />
    26                     <Property Name="VertStepSize" Value="0.005" />
    27                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    28                     <Property Name="HorzOverlapSize" Value="0.01" />
    29                     <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
    30                     <Property Name="VertOverlapSize" Value="0.01" />
    31                     <Property Name="HorzScrollPosition" Value="0" />
    32                     <Property Name="VertScrollPosition" Value="0" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="MaxSize" value="{{1,0},{1,0}}" />
     6        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     7        <Window name="PickupInventory" type="MenuWidgets/StaticText">
     8            <Property name="Text" value="Pickup Inventory" />
     9            <Property name="Alpha" value="0.8" />
     10            <Property name="InheritsAlpha" value="False" />
     11            <Property name="HorzFormatting" value="HorzCentred" />
     12            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     13            <Property name="VertFormatting" value="TopAligned" />
     14            <Property name="Area" value="{{0.15,0},{0.15,0},{0.85,0},{0.8,0}}" />
     15            <Window name="Wrapper" type="MenuWidgets/StaticText">
     16                <Property name="TextColours" value="FF4444FF" />
     17                <Property name="InheritsAlpha" value="False" />
     18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     19                <Property name="HorzFormatting" value="HorzCentred" />
     20                <Property name="VertFormatting" value="TopAligned" />
     21                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
     22                <Window name="Inventory" type="MenuWidgets/ScrollablePane">
     23                    <Property name="ContentArea" value="l:0 t:0 r:0 b:0" />
     24                    <Property name="HorzStepSize" value="0.005" />
     25                    <Property name="VertStepSize" value="0.005" />
     26                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     27                    <Property name="HorzOverlapSize" value="0.01" />
     28                    <Property name="Area" value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
     29                    <Property name="VertOverlapSize" value="0.01" />
     30                    <Property name="HorzScrollPosition" value="0" />
     31                    <Property name="VertScrollPosition" value="0" />
    3332                </Window>
    3433            </Window>
    3534        </Window>
    36         <Window Type="MenuWidgets/Button" Name="orxonox/PickupInventory/InventoryBackButton" >
    37             <Property Name="Text" Value="Back" />
    38             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    39             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.8350,0},{0.6,0},{0.8800,0}}" />
    40             <Event Name="Clicked" Function="PickupInventory.InventoryBackButton_clicked"/>
     35        <Window name="InventoryBackButton" type="MenuWidgets/Button">
     36            <Property name="Text" value="Back" />
     37            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     38            <Property name="Area" value="{{0.4,0},{0.8350,0},{0.6,0},{0.8800,0}}" />
     39            <Event function="PickupInventory.InventoryBackButton_clicked" name="Clicked" />
    4140        </Window>
    4241    </Window>
  • code/branches/ogre1.9/data/gui/layouts/QuestGUI.layout

    r8706 r11211  
    1 <?xml version="1.0" ?>
    2 <GUILayout>
    3     <Window Type="DefaultWindow" Name="orxonox/QuestGUI/Background">
    4         <Property Name="InheritsAlpha" Value="False" />
    5         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    6 
    7         <Window Type="DefaultWindow" Name="orxonox/QuestGUI/MainWindow">
    8             <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.1,0},{0.9,0},{0.9,0}}" />
    9 
    10             <Window Type="MenuWidgets/Titlebar" Name="orxonox/QuestGUI/Title">
    11                 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{0,30}}" />
    12                 <Property Name="Text" Value="Your Quests"/>
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" type="DefaultWindow">
     4        <Property name="InheritsAlpha" value="False" />
     5        <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     6        <Window name="MainWindow" type="DefaultWindow">
     7            <Property name="Area" value="{{0.1,0},{0.1,0},{0.9,0},{0.9,0}}" />
     8            <Window name="Title" type="MenuWidgets/Titlebar">
     9                <Property name="Area" value="{{0,0},{0,0},{1,0},{0,30}}" />
     10                <Property name="Text" value="Your Quests" />
    1311            </Window>
    14 
    15             <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/MainWindow/LeftPanel">
    16                 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,30},{0.5,0},{1,0}}" />
    17 
    18                 <Window Type="MenuWidgets/TabButton" Name="orxonox/QuestGUI/ActiveQuestsButton">
    19                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.5,0},{0,30}}" />
    20                     <Property Name="Text" Value="active quests"/>
    21                     <Event Name="Clicked" Function="QuestGUI.showActiveQuestsButton_clicked"/>
     12            <Window name="LeftPanel" type="MenuWidgets/StaticText">
     13                <Property name="Area" value="{{0,0},{0,30},{0.5,0},{1,0}}" />
     14                <Window name="ActiveQuestsButton" type="MenuWidgets/TabButton">
     15                    <Property name="Area" value="{{0,0},{0,0},{0.5,0},{0,30}}" />
     16                    <Property name="Text" value="active quests" />
     17                    <Event function="QuestGUI.showActiveQuestsButton_clicked" name="Clicked" />
    2218                </Window>
    23                 <Window Type="MenuWidgets/TabButton" Name="orxonox/QuestGUI/FinishedQuestsButton">
    24                     <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0,0},{1,0},{0,30}}" />
    25                     <Property Name="Text" Value="finished quests"/>
    26                     <Event Name="Clicked" Function="QuestGUI.showFinishedQuestsButton_clicked"/>
     19                <Window name="FinishedQuestsButton" type="MenuWidgets/TabButton">
     20                    <Property name="Area" value="{{0.5,0},{0,0},{1,0},{0,30}}" />
     21                    <Property name="Text" value="finished quests" />
     22                    <Event function="QuestGUI.showFinishedQuestsButton_clicked" name="Clicked" />
    2723                </Window>
    28 
    29                 <Window Type="MenuWidgets/Listbox" Name="orxonox/QuestGUI/QuestsList">
    30                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,30},{1,0},{1,0}}" />
    31                     <Event Name="ItemSelectionChanged" Function="QuestGUI.changeQuest_clicked"/>
     24                <Window name="QuestsList" type="MenuWidgets/Listbox">
     25                    <Property name="Area" value="{{0,0},{0,30},{1,0},{1,0}}" />
     26                    <Event function="QuestGUI.changeQuest_clicked" name="ItemSelectionChanged" />
    3227                </Window>
    3328            </Window>
    34 
    35             <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/MainWindow/RightPanel">
    36                 <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0,30},{1,0},{1,0}}" />
    37 
    38                 <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Title">
    39                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{0,30}}" />
    40                     <Property Name="Text" Value="Quest Title"/>
     29            <Window name="RightPanel" type="MenuWidgets/StaticText">
     30                <Property name="Area" value="{{0.5,0},{0,30},{1,0},{1,0}}" />
     31                <Window name="Title" type="MenuWidgets/StaticText">
     32                    <Property name="Area" value="{{0,0},{0,0},{1,0},{0,30}}" />
     33                    <Property name="Text" value="Quest Title" />
    4134                </Window>
    42 
    43                 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/QuestGUI/Quest/ScrollWrapper">
    44                     <Property Name="UnifiedAreaRect" Value="{{0,0},{0,30},{1,-4},{1,-4}}" />
    45 
    46                     <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Wrapper">
    47                         <Property Name="UnifiedAreaRect" Value="{{0,5},{0,5},{1,-5},{0,0}}" />
    48                         <Property Name="FrameEnabled" Value="false" />
    49                         <Property Name="Alpha" Value="0" />
    50 
    51                         <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Description">
    52                             <Property Name="UnifiedAreaRect" Value="{{0,5},{0,0},{1,-5},{0,0}}" />
    53                             <Property Name="InheritsAlpha" Value="False" />
    54                             <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
    55                             <Property Name="VertFormatting" Value="TopAligned" />
    56                             <Property Name="FrameEnabled" Value="false" />
    57                             <Property Name="Text" Value="Quest Description"/>
     35                <Window name="ScrollWrapper" type="MenuWidgets/ScrollablePane">
     36                    <Property name="Area" value="{{0,0},{0,30},{1,-4},{1,-4}}" />
     37                    <Window name="Wrapper" type="MenuWidgets/StaticText">
     38                        <Property name="Area" value="{{0,5},{0,5},{1,-5},{0,0}}" />
     39                        <Property name="FrameEnabled" value="false" />
     40                        <Property name="Alpha" value="0" />
     41                        <Window name="Description" type="MenuWidgets/StaticText">
     42                            <Property name="Area" value="{{0,5},{0,0},{1,-5},{0,0}}" />
     43                            <Property name="InheritsAlpha" value="False" />
     44                            <Property name="HorzFormatting" value="WordWrapLeftAligned" />
     45                            <Property name="VertFormatting" value="TopAligned" />
     46                            <Property name="FrameEnabled" value="false" />
     47                            <Property name="Text" value="Quest Description" />
    5848                        </Window>
    59 
    60                         <Window Type="MenuWidgets/Listbox" Name="orxonox/QuestGUI/Quest/SubquestsList">
    61                             <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    62                             <Property Name="InheritsAlpha" Value="False" />
    63                             <Event Name="ItemSelectionChanged" Function="QuestGUI.changeToSubquest_clicked"/>
     49                        <Window name="SubquestsList" type="MenuWidgets/Listbox">
     50                            <Property name="Area" value="{{0,0},{0,0},{1,0},{1,0}}" />
     51                            <Property name="InheritsAlpha" value="False" />
     52                            <Event function="QuestGUI.changeToSubquest_clicked" name="ItemSelectionChanged" />
    6453                        </Window>
    65 
    66                         <Window Type="MenuWidgets/StaticText" Name="orxonox/QuestGUI/Quest/Hints">
    67                             <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{0,0}}" />
    68                             <Property Name="InheritsAlpha" Value="False" />
    69                             <Property Name="VertFormatting" Value="TopAligned" />
    70                             <Property Name="FrameEnabled" Value="false" />
    71                             <Property Name="Text" Value="Hints:" />
     54                        <Window name="Hints" type="MenuWidgets/StaticText">
     55                            <Property name="Area" value="{{0,0},{0,0},{1,0},{0,0}}" />
     56                            <Property name="InheritsAlpha" value="False" />
     57                            <Property name="VertFormatting" value="TopAligned" />
     58                            <Property name="FrameEnabled" value="false" />
     59                            <Property name="Text" value="Hints:" />
    7260                        </Window>
    7361                    </Window>
  • code/branches/ogre1.9/data/gui/layouts/SettingsMenu.layout

    r7163 r11211  
    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>
  • code/branches/ogre1.9/data/gui/layouts/ShipSelectionMenu.layout

    r9348 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4 
    5     <Window Type="MenuWidgets/StaticImage" Name="orxonox/ShipSelectionBackground" >
    6         <Property Name="FrameEnabled" Value="False" />
    7         <Property Name="InheritsAlpha" Value="False" />
    8         <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    9         <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    10         <Property Name="BackgroundEnabled" Value="False" />
    11         <!-- -->
    12         <Window Type="MenuWidgets/StaticText" Name="orxonox/ShipSelectionWindow" >
    13             <Property Name="Text" Value="ShipSelection" />
    14             <Property Name="Alpha" Value="0.8" />
    15             <Property Name="InheritsAlpha" Value="False" />
    16             <Property Name="HorzFormatting" Value="HorzCentred" />
    17             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    18             <Property Name="VertFormatting" Value="TopAligned" />
    19             <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.15,0},{0.8,0},{0.7,0}}" />
    20             <Window Type="MenuWidgets/TabControl" Name="orxonox/ShipSelectionTabControl" >
    21                 <Property Name="TabHeight" Value="{0,26.4388}" />
    22                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    23                 <Property Name="TabPanePosition" Value="Top" />
    24                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
    25 
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="ShipSelectionBackground" 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="ShipSelectionWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="ShipSelection" />
     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.2,0},{0.15,0},{0.8,0},{0.7,0}}" />
     17            <Window name="ShipSelectionTabControl" type="MenuWidgets/TabControl">
     18                <Property name="TabHeight" value="{0,26.4388}" />
     19                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     20                <Property name="TabPanePosition" value="Top" />
     21                <Property name="Area" value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
    2622            </Window>
    27 
    28             <!-- TODO: Ship Description and Image
    29             <Window Type="MenuWidgets/StaticImage" Name="orxonox/ShipSelectionShipImage" >
    30                 <Property Name="AlwaysOnTop" Value="True" />
    31                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    32                 <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.25,0},{0.9,0},{0.675,0}}" />
    33             </Window>
    34             <Window Type="MenuWidgets/StaticText" Name="orxonox/ShipSelectionLevelDescription" >
    35                 <Property Name="AlwaysOnTop" Value="True" />
    36                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    37                 <Property Name="VertScrollbar" Value="True" />
    38                 <Property Name="HorzScrollbar" Value="True" />
    39                 <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.725,0},{0.9,0},{0.875,0}}" />
    40             </Window>-->
    41 
    4223        </Window>
    43         <Window Type="MenuWidgets/Button" Name="orxonox/ShipSelectionStartButton" >
    44             <Property Name="Text" Value="Start" />
    45             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    46             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
    47             <Event Name="Clicked" Function="ShipSelectionMenu.ShipSelectionStartButton_clicked"/>
     24        <Window name="ShipSelectionStartButton" type="MenuWidgets/Button">
     25            <Property name="Text" value="Start" />
     26            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     27            <Property name="Area" value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
     28            <Event function="ShipSelectionMenu.ShipSelectionStartButton_clicked" name="Clicked" />
    4829        </Window>
    49         <!-- TODO: set ship properties
    50         <Window Type="MenuWidgets/Button" Name="orxonox/ShipSelectionConfigButton" >
    51             <Property Name="Text" Value="Configure" />
    52             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    53             <Property Name="UnifiedAreaRect" Value="{{0.425,0},{0.725,0},{0.575,0},{0.775,0}}" />
    54             <Property Name="Disabled" Value="True" />
    55             <Event Name="Clicked" Function="ShipSelectionMenu.ShipSelectionConfigButton_clicked"/>
    56         </Window> -->
    57         <Window Type="MenuWidgets/Button" Name="orxonox/ShipSelectionBackButton" >
    58             <Property Name="Text" Value="Back" />
    59             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    60             <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
    61             <Event Name="Clicked" Function="ShipSelectionMenu.ShipSelectionBackButton_clicked"/>
     30        <Window name="ShipSelectionBackButton" type="MenuWidgets/Button">
     31            <Property name="Text" value="Back" />
     32            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     33            <Property name="Area" value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
     34            <Event function="ShipSelectionMenu.ShipSelectionBackButton_clicked" name="Clicked" />
    6235        </Window>
    6336    </Window>
  • code/branches/ogre1.9/data/gui/layouts/SingleplayerConfigMenu.layout

    r9665 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/SingleplayerConfigMenu/Background" >
    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/SingleplayerConfigMenu/ConfigWindow" >
    11             <Property Name="Text" Value="Config" />
    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.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
    18             <Window Type="MenuWidgets/StaticText" Name="orxonox/SingleplayerConfigMenu/Wrapper" >
    19                 <Property Name="TextColours" Value="FF4444FF" />
    20                 <Property Name="InheritsAlpha" Value="False" />
    21                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22                 <Property Name="HorzFormatting" Value="HorzCentred" />
    23                 <Property Name="VertFormatting" Value="TopAligned" />
    24                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
    25                 <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/SingleplayerConfigMenu/MiscConfigPane" >
    26                     <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
    27                     <Property Name="HorzStepSize" Value="0.005" />
    28                     <Property Name="VertStepSize" Value="0.005" />
    29                     <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    30                     <Property Name="HorzOverlapSize" Value="0.01" />
    31                     <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
    32                     <Property Name="VertOverlapSize" Value="0.01" />
    33                     <Property Name="HorzScrollPosition" Value="0" />
    34                     <Property Name="VertScrollPosition" Value="0" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" 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="ConfigWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Config" />
     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.15,0},{0.2125,0},{0.85,0},{0.6375,0}}" />
     17            <Window name="Wrapper" type="MenuWidgets/StaticText">
     18                <Property name="TextColours" value="FF4444FF" />
     19                <Property name="InheritsAlpha" value="False" />
     20                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     21                <Property name="HorzFormatting" value="HorzCentred" />
     22                <Property name="VertFormatting" value="TopAligned" />
     23                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
     24                <Window name="MiscConfigPane" type="MenuWidgets/ScrollablePane">
     25                    <Property name="ContentArea" value="l:0 t:0 r:0 b:0" />
     26                    <Property name="HorzStepSize" value="0.005" />
     27                    <Property name="VertStepSize" value="0.005" />
     28                    <Property name="MaxSize" value="{{1,0},{1,0}}" />
     29                    <Property name="HorzOverlapSize" value="0.01" />
     30                    <Property name="Area" value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
     31                    <Property name="VertOverlapSize" value="0.01" />
     32                    <Property name="HorzScrollPosition" value="0" />
     33                    <Property name="VertScrollPosition" value="0" />
    3534                </Window>
    3635            </Window>
    3736        </Window>
    38         <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerConfigMenu/CancelButton" >
    39             <Property Name="Text" Value="Cancel" />
    40             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
    42             <Event Name="Clicked" Function="SingleplayerConfigMenu.SingleplayerConfigCancelButton_clicked"/>
     37        <Window name="CancelButton" type="MenuWidgets/Button">
     38            <Property name="Text" value="Cancel" />
     39            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40            <Property name="Area" value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
     41            <Event function="SingleplayerConfigMenu.SingleplayerConfigCancelButton_clicked" name="Clicked" />
    4342        </Window>
    44         <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerConfigMenu/OKButton" >
    45             <Property Name="Text" Value="OK" />
    46             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    47             <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
    48             <Event Name="Clicked" Function="SingleplayerConfigMenu.SingleplayerConfigOKButton_clicked"/>
     43        <Window name="OKButton" type="MenuWidgets/Button">
     44            <Property name="Text" value="OK" />
     45            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     46            <Property name="Area" value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
     47            <Event function="SingleplayerConfigMenu.SingleplayerConfigOKButton_clicked" name="Clicked" />
    4948        </Window>
    5049    </Window>
  • code/branches/ogre1.9/data/gui/layouts/SingleplayerMenu.layout

    r10258 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/SingleplayerBackground" >
    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/SingleplayerWindow" >
    11             <Property Name="Text" Value="Singleplayer" />
    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.2,0},{0.15,0},{0.8,0},{0.7,0}}" />
    18             <Window Type="MenuWidgets/TabControl" Name="orxonox/SingleplayerTabControl" >
    19                 <Property Name="TabHeight" Value="{0,26.4388}" />
    20                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    21                 <Property Name="TabPanePosition" Value="Top" />
    22                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="SingleplayerBackground" 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="SingleplayerWindow" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Singleplayer" />
     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.2,0},{0.15,0},{0.8,0},{0.7,0}}" />
     17            <Window name="SingleplayerTabControl" type="MenuWidgets/TabControl">
     18                <Property name="TabHeight" value="{0,26.4388}" />
     19                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     20                <Property name="TabPanePosition" value="Top" />
     21                <Property name="Area" value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
    2322            </Window>
    24             <Window Type="MenuWidgets/StaticImage" Name="orxonox/SingleplayerLevelImage" >
    25                 <Property Name="AlwaysOnTop" Value="True" />
    26                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    27                 <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.25,0},{0.9,0},{0.675,0}}" />
     23            <Window name="SingleplayerLevelImage" type="MenuWidgets/StaticImage">
     24                <Property name="AlwaysOnTop" value="True" />
     25                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     26                <Property name="Area" value="{{0.55,0},{0.25,0},{0.9,0},{0.675,0}}" />
    2827            </Window>
    29             <Window Type="MenuWidgets/StaticText" Name="orxonox/SingleplayerLevelDescription" >
    30                 <Property Name="AlwaysOnTop" Value="True" />
    31                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    32                 <Property Name="VertScrollbar" Value="True" />
    33                 <Property Name="HorzScrollbar" Value="False" />
    34                 <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.725,0},{0.9,0},{0.875,0}}" />
    35                 <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
     28            <Window name="SingleplayerLevelDescription" type="MenuWidgets/StaticText">
     29                <Property name="AlwaysOnTop" value="True" />
     30                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     31                <Property name="VertScrollbar" value="True" />
     32                <Property name="HorzScrollbar" value="False" />
     33                <Property name="Area" value="{{0.1,0},{0.725,0},{0.9,0},{0.875,0}}" />
     34                <Property name="HorzFormatting" value="WordWrapLeftAligned" />
    3635            </Window>
    3736        </Window>
    38         <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerStartButton" >
    39             <Property Name="Text" Value="Start" />
    40             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    41             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
    42             <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerStartButton_clicked"/>
     37        <Window name="SingleplayerStartButton" type="MenuWidgets/Button">
     38            <Property name="Text" value="Start" />
     39            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     40            <Property name="Area" value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
     41            <Event function="SingleplayerMenu.SingleplayerStartButton_clicked" name="Clicked" />
    4342        </Window>
    44         <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerConfigButton" >
    45             <Property Name="Text" Value="Configure" />
    46             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    47             <Property Name="UnifiedAreaRect" Value="{{0.425,0},{0.725,0},{0.575,0},{0.775,0}}" />
    48             <Property Name="Disabled" Value="True" />
    49             <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerConfigButton_clicked"/>
     43        <Window name="SingleplayerConfigButton" type="MenuWidgets/Button">
     44            <Property name="Text" value="Configure" />
     45            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     46            <Property name="Area" value="{{0.425,0},{0.725,0},{0.575,0},{0.775,0}}" />
     47            <Property name="Disabled" value="True" />
     48            <Event function="SingleplayerMenu.SingleplayerConfigButton_clicked" name="Clicked" />
    5049        </Window>
    51         <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerBackButton" >
    52             <Property Name="Text" Value="Back" />
    53             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    54             <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
    55             <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerBackButton_clicked"/>
     50        <Window name="SingleplayerBackButton" type="MenuWidgets/Button">
     51            <Property name="Text" value="Back" />
     52            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     53            <Property name="Area" value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
     54            <Event function="SingleplayerMenu.SingleplayerBackButton_clicked" name="Clicked" />
    5655        </Window>
    57         <Window Type="MenuWidgets/Button" Name="orxonox/CampaignButton" >
    58             <Property Name="Text" Value="Campaign" />
    59             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    60             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.8,0},{0.6,0},{0.85,0}}" />
    61             <Event Name="Clicked" Function="SingleplayerMenu.CampaignButton_clicked"/>
     56        <Window name="CampaignButton" type="MenuWidgets/Button">
     57            <Property name="Text" value="Campaign" />
     58            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     59            <Property name="Area" value="{{0.4,0},{0.8,0},{0.6,0},{0.85,0}}" />
     60            <Event function="SingleplayerMenu.CampaignButton_clicked" name="Clicked" />
    6261        </Window>
    6362    </Window>
  • code/branches/ogre1.9/data/gui/layouts/UndockingDialog.layout

    r9943 r11211  
    1 <?xml version="1.0" encoding="UTF-8"?>
    2 
    3 <GUILayout >
    4     <Window Type="MenuWidgets/StaticImage" Name="orxonox/Undocking/Background" >
    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/Undocking/Title" >
    11             <Property Name="Text" Value="Undocking" />
    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.2875,0},{0.75,0},{0.7,0}}" />
    18             <Window Type="MenuWidgets/Listbox" Name="orxonox/Undocking/Docks" >
    19                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    20                 <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
     1<?xml version='1.0' encoding='utf-8'?>
     2<GUILayout version="4">
     3    <Window name="Background" 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="Title" type="MenuWidgets/StaticText">
     10            <Property name="Text" value="Undocking" />
     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.2875,0},{0.75,0},{0.7,0}}" />
     17            <Window name="Docks" type="MenuWidgets/Listbox">
     18                <Property name="MaxSize" value="{{1,0},{1,0}}" />
     19                <Property name="Area" value="{{0.05,0},{0.15,0},{0.95,0},{0.85,0}}" />
    2120            </Window>
    2221        </Window>
    23         <Window Type="MenuWidgets/Button" Name="orxonox/Undocking/DockButton" >
    24             <Property Name="Text" Value="Undock" />
    25             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    26             <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
    27             <Event Name="Clicked" Function="UndockingDialog.undockButton_clicked"/>
     22        <Window name="DockButton" type="MenuWidgets/Button">
     23            <Property name="Text" value="Undock" />
     24            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     25            <Property name="Area" value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
     26            <Event function="UndockingDialog.undockButton_clicked" name="Clicked" />
    2827        </Window>
    29         <Window Type="MenuWidgets/Button" Name="orxonox/Undocking/CancelButton" >
    30             <Property Name="Text" Value="Cancel" />
    31             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    32             <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
    33             <Event Name="Clicked" Function="UndockingDialog.cancelButton_clicked"/>
     28        <Window name="CancelButton" type="MenuWidgets/Button">
     29            <Property name="Text" value="Cancel" />
     30            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     31            <Property name="Area" value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
     32            <Event function="UndockingDialog.cancelButton_clicked" name="Clicked" />
    3433        </Window>
    3534    </Window>
Note: See TracChangeset for help on using the changeset viewer.