Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 20, 2018, 11:42:02 PM (7 years ago)
Author:
landauf
Message:

auto-migrated all cegui files to version 0.8 with ceed (http://cegui.org.uk/wiki/Using_CEED-Migrate)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cegui0.8_ogre1.9/data/gui/layouts/AudioMenu.layout

    r7801 r11793  
    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>
Note: See TracChangeset for help on using the changeset viewer.