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

    r11359 r11793  
    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 
    11         <!-- Misson 1************************************* -->
    12         <Window Type="MenuWidgets/Button" Name="orxonox/Mission1Text" >
    13             <Property Name="Text" Value="Mission One" />
    14             <Property Name="Visible" Value="False"/>
    15             <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.6,0},{0.3,0},{0.65,0}}" />
    16             <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="Mission1Text" type="MenuWidgets/Button">
     10            <Property name="Text" value="Mission One" />
     11            <Property name="Visible" value="False" />
     12            <Property name="Area" value="{{0.1,0},{0.6,0},{0.3,0},{0.65,0}}" />
     13            <Event function="CampaignMenu.Mission1Button_clicked" name="Clicked" />
    1714        </Window>
    18 
    19         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission1Button" >
    20             <Property Name="Visible" Value="False"/>
    21             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22             <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.75,0},{0.25,0},{0.95,0}}" />
    23             <Event Name="Clicked" Function="CampaignMenu.Mission1Button_clicked"/>
     15        <Window name="Mission1Button" type="MenuWidgets/JuuButton">
     16            <Property name="Visible" value="False" />
     17            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     18            <Property name="Area" value="{{0.1,0},{0.75,0},{0.25,0},{0.95,0}}" />
     19            <Event function="CampaignMenu.Mission1Button_clicked" name="Clicked" />
    2420        </Window>
    25 
    26         <!-- Misson 2************************************* -->
    27         <Window Type="MenuWidgets/Button" Name="orxonox/Mission2Text" >
    28             <Property Name="Text" Value="Fight in our Back" />
    29             <Property Name="Visible" Value="False"/>
    30             <Property Name="UnifiedAreaRect" Value="{{0.35,0},{0.6,0},{0.55,0},{0.65,0}}" />
    31             <Property Name="Disabled" Value="True" />
    32             <Event Name="Clicked" Function="CampaignMenu.Mission2Button_clicked"/>
     21        <Window name="Mission2Text" type="MenuWidgets/Button">
     22            <Property name="Text" value="Fight in our Back" />
     23            <Property name="Visible" value="False" />
     24            <Property name="Area" value="{{0.35,0},{0.6,0},{0.55,0},{0.65,0}}" />
     25            <Property name="Disabled" value="True" />
     26            <Event function="CampaignMenu.Mission2Button_clicked" name="Clicked" />
    3327        </Window>
    34 
    35         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission2Button" >
    36             <Property Name="Visible" Value="False"/>
    37             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    38             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.7,0},{0.5,0},{0.85,0}}" />
    39             <Property Name="Disabled" Value="True" />
    40             <Event Name="Clicked" Function="CampaignMenu.Mission2Button_clicked"/>
     28        <Window name="Mission2Button" type="MenuWidgets/JuuButton">
     29            <Property name="Visible" value="False" />
     30            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     31            <Property name="Area" value="{{0.4,0},{0.7,0},{0.5,0},{0.85,0}}" />
     32            <Property name="Disabled" value="True" />
     33            <Event function="CampaignMenu.Mission2Button_clicked" name="Clicked" />
    4134        </Window>
    42 
    43         <!-- Misson 3************************************* -->
    44         <Window Type="MenuWidgets/Button" Name="orxonox/Mission3Text" >
    45             <Property Name="Text" Value="Pirate Attack" />
    46             <Property Name="Visible" Value="False"/>
    47             <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.75,0},{0.8,0},{0.8,0}}" />
    48             <Property Name="Disabled" Value="True" />
    49             <Event Name="Clicked" Function="CampaignMenu.Mission3Button_clicked"/>
     35        <Window name="Mission3Text" type="MenuWidgets/Button">
     36            <Property name="Text" value="Pirate Attack" />
     37            <Property name="Visible" value="False" />
     38            <Property name="Area" value="{{0.6,0},{0.75,0},{0.8,0},{0.8,0}}" />
     39            <Property name="Disabled" value="True" />
     40            <Event function="CampaignMenu.Mission3Button_clicked" name="Clicked" />
    5041        </Window>
    51         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission3Button" >
    52 
    53             <Property Name="Visible" Value="False"/>
    54             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    55             <Property Name="UnifiedAreaRect" Value="{{0.685,0},{0.605,0},{0.75,0},{0.71,0}}" />
    56             <Property Name="Disabled" Value="True" />
    57             <Event Name="Clicked" Function="CampaignMenu.Mission3Button_clicked"/>
     42        <Window name="Mission3Button" type="MenuWidgets/JuuButton">
     43            <Property name="Visible" value="False" />
     44            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     45            <Property name="Area" value="{{0.685,0},{0.605,0},{0.75,0},{0.71,0}}" />
     46            <Property name="Disabled" value="True" />
     47            <Event function="CampaignMenu.Mission3Button_clicked" name="Clicked" />
    5848        </Window>
    59 
    60         <!-- Misson 4************************************* -->
    61         <Window Type="MenuWidgets/Button" Name="orxonox/Mission4Text" >
    62             <Property Name="Text" Value="Trip to Area 51" />
    63             <Property Name="Visible" Value="False"/>
    64             <Property Name="UnifiedAreaRect" Value="{{0.575,0},{0.5,0},{0.775,0},{0.55,0}}" />
    65             <Property Name="Disabled" Value="True" />
    66             <Event Name="Clicked" Function="CampaignMenu.Mission4Button_clicked"/>
     49        <Window name="Mission4Text" type="MenuWidgets/Button">
     50            <Property name="Text" value="Trip to Area 51" />
     51            <Property name="Visible" value="False" />
     52            <Property name="Area" value="{{0.575,0},{0.5,0},{0.775,0},{0.55,0}}" />
     53            <Property name="Disabled" value="True" />
     54            <Event function="CampaignMenu.Mission4Button_clicked" name="Clicked" />
    6755        </Window>
    68         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission4Button" >
    69 
    70             <Property Name="Visible" Value="False"/>
    71             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    72             <Property Name="UnifiedAreaRect" Value="{{0.78,0},{0.48,0},{0.87,0},{0.59,0}}" />
    73             <Property Name="Disabled" Value="True" />
    74             <Event Name="Clicked" Function="CampaignMenu.Mission4Button_clicked"/>
     56        <Window name="Mission4Button" type="MenuWidgets/JuuButton">
     57            <Property name="Visible" value="False" />
     58            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     59            <Property name="Area" value="{{0.78,0},{0.48,0},{0.87,0},{0.59,0}}" />
     60            <Property name="Disabled" value="True" />
     61            <Event function="CampaignMenu.Mission4Button_clicked" name="Clicked" />
    7562        </Window>
    76 
    77         <!-- Misson 5************************************* -->
    78         <Window Type="MenuWidgets/Button" Name="orxonox/Mission5Text" >
    79             <Property Name="Text" Value="Area 51 under Fire" />
    80             <Property Name="Visible" Value="False"/>
    81             <Property Name="UnifiedAreaRect" Value="{{0.625,0},{0.4,0},{0.825,0},{0.45,0}}" />
    82             <Property Name="Disabled" Value="True" />
    83             <Event Name="Clicked" Function="CampaignMenu.Mission5Button_clicked"/>
     63        <Window name="Mission5Text" type="MenuWidgets/Button">
     64            <Property name="Text" value="Area 51 under Fire" />
     65            <Property name="Visible" value="False" />
     66            <Property name="Area" value="{{0.625,0},{0.4,0},{0.825,0},{0.45,0}}" />
     67            <Property name="Disabled" value="True" />
     68            <Event function="CampaignMenu.Mission5Button_clicked" name="Clicked" />
    8469        </Window>
    85         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission5Button" >
    86 
    87             <Property Name="Visible" Value="False"/>
    88             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    89             <Property Name="UnifiedAreaRect" Value="{{0.725,0},{0.27,0},{0.775,0},{0.37,0}}" />
    90             <Property Name="Disabled" Value="True" />
    91             <Event Name="Clicked" Function="CampaignMenu.Mission5Button_clicked"/>
     70        <Window name="Mission5Button" type="MenuWidgets/JuuButton">
     71            <Property name="Visible" value="False" />
     72            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     73            <Property name="Area" value="{{0.725,0},{0.27,0},{0.775,0},{0.37,0}}" />
     74            <Property name="Disabled" value="True" />
     75            <Event function="CampaignMenu.Mission5Button_clicked" name="Clicked" />
    9276        </Window>
    93 
    94         <!-- Misson 6************************************* -->
    95         <Window Type="MenuWidgets/Button" Name="orxonox/Mission6Text" >
    96             <Property Name="Text" Value="Escape the Bastards" />
    97             <Property Name="Visible" Value="False"/>
    98             <Property Name="UnifiedAreaRect" Value="{{0.525,0},{0.1,0},{0.725,0},{0.15,0}}" />
    99             <Property Name="Disabled" Value="True" />
    100             <Event Name="Clicked" Function="CampaignMenu.Mission6Button_clicked"/>
     77        <Window name="Mission6Text" type="MenuWidgets/Button">
     78            <Property name="Text" value="Escape the Bastards" />
     79            <Property name="Visible" value="False" />
     80            <Property name="Area" value="{{0.525,0},{0.1,0},{0.725,0},{0.15,0}}" />
     81            <Property name="Disabled" value="True" />
     82            <Event function="CampaignMenu.Mission6Button_clicked" name="Clicked" />
    10183        </Window>
    102         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission6Button" >
    103 
    104             <Property Name="Visible" Value="False"/>
    105             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    106             <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.17,0},{0.65,0},{0.27,0}}" />
    107             <Property Name="Disabled" Value="True" />
    108             <Event Name="Clicked" Function="CampaignMenu.Mission6Button_clicked"/>
     84        <Window name="Mission6Button" type="MenuWidgets/JuuButton">
     85            <Property name="Visible" value="False" />
     86            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     87            <Property name="Area" value="{{0.6,0},{0.17,0},{0.65,0},{0.27,0}}" />
     88            <Property name="Disabled" value="True" />
     89            <Event function="CampaignMenu.Mission6Button_clicked" name="Clicked" />
    10990        </Window>
    110 
    111         <!-- Misson 7************************************* -->
    112         <Window Type="MenuWidgets/Button" Name="orxonox/Mission7Text" >
    113             <Property Name="Text" Value="Expedition to Sector 5C" />
    114             <Property Name="Visible" Value="False"/>
    115             <Property Name="Disabled" Value="True" />
    116             <Event Name="Clicked" Function="CampaignMenu.Mission7Button_clicked"/>
    117             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.025,0},{0.6,0},{0.075,0}}" />
     91        <Window name="Mission7Text" type="MenuWidgets/Button">
     92            <Property name="Text" value="Expedition to Sector 5C" />
     93            <Property name="Visible" value="False" />
     94            <Property name="Disabled" value="True" />
     95            <Event function="CampaignMenu.Mission7Button_clicked" name="Clicked" />
     96            <Property name="Area" value="{{0.4,0},{0.025,0},{0.6,0},{0.075,0}}" />
    11897        </Window>
    119         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission7Button" >
    120 
    121             <Property Name="Visible" Value="False"/>
    122             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    123             <Property Name="UnifiedAreaRect" Value="{{0.47,0},{0.13,0},{0.525,0},{0.23,0}}" />
    124             <Property Name="Disabled" Value="True" />
    125             <Event Name="Clicked" Function="CampaignMenu.Mission7Button_clicked"/>
     98        <Window name="Mission7Button" type="MenuWidgets/JuuButton">
     99            <Property name="Visible" value="False" />
     100            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     101            <Property name="Area" value="{{0.47,0},{0.13,0},{0.525,0},{0.23,0}}" />
     102            <Property name="Disabled" value="True" />
     103            <Event function="CampaignMenu.Mission7Button_clicked" name="Clicked" />
    126104        </Window>
    127 
    128         <!-- Misson 8************************************* -->
    129         <Window Type="MenuWidgets/Button" Name="orxonox/Mission8Text" >
    130             <Property Name="Text" Value="Shuttle under Attack" />
    131             <Property Name="Visible" Value="False"/>
    132             <Property Name="Disabled" Value="True" />
    133             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2,0},{0.45,0},{0.25,0}}" />
    134             <Event Name="Clicked" Function="CampaignMenu.Mission8Button_clicked"/>
     105        <Window name="Mission8Text" type="MenuWidgets/Button">
     106            <Property name="Text" value="Shuttle under Attack" />
     107            <Property name="Visible" value="False" />
     108            <Property name="Disabled" value="True" />
     109            <Property name="Area" value="{{0.25,0},{0.2,0},{0.45,0},{0.25,0}}" />
     110            <Event function="CampaignMenu.Mission8Button_clicked" name="Clicked" />
    135111        </Window>
    136         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission8Button" >
    137 
    138             <Property Name="Visible" Value="False"/>
    139             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    140             <Property Name="UnifiedAreaRect" Value="{{0.33,0},{0.1,0},{0.38,0},{0.18,0}}" />
    141             <Property Name="Disabled" Value="True" />
    142             <Event Name="Clicked" Function="CampaignMenu.Mission8Button_clicked"/>
     112        <Window name="Mission8Button" type="MenuWidgets/JuuButton">
     113            <Property name="Visible" value="False" />
     114            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     115            <Property name="Area" value="{{0.33,0},{0.1,0},{0.38,0},{0.18,0}}" />
     116            <Property name="Disabled" value="True" />
     117            <Event function="CampaignMenu.Mission8Button_clicked" name="Clicked" />
    143118        </Window>
    144 
    145         <!-- Misson 9************************************* -->
    146         <Window Type="MenuWidgets/Button" Name="orxonox/Mission9Text" >
    147             <Property Name="Text" Value="Retaliation" />
    148             <Property Name="Visible" Value="False"/>
    149             <Property Name="Disabled" Value="True" />
    150             <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.145,0},{0.3,0},{0.195,0}}" />
    151             <Event Name="Clicked" Function="CampaignMenu.Mission9Button_clicked"/>
     119        <Window name="Mission9Text" type="MenuWidgets/Button">
     120            <Property name="Text" value="Retaliation" />
     121            <Property name="Visible" value="False" />
     122            <Property name="Disabled" value="True" />
     123            <Property name="Area" value="{{0.1,0},{0.145,0},{0.3,0},{0.195,0}}" />
     124            <Event function="CampaignMenu.Mission9Button_clicked" name="Clicked" />
    152125        </Window>
    153         <Window Type="MenuWidgets/JuuButton" Name="orxonox/Mission9Button" >
    154 
    155             <Property Name="Visible" Value="False"/>
    156             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    157             <Property Name="UnifiedAreaRect" Value="{{0.18,0},{0.07,0},{0.24,0},{0.145,0}}" />
    158             <Property Name="Disabled" Value="True" />
    159             <Event Name="Clicked" Function="CampaignMenu.Mission9Button_clicked"/>
     126        <Window name="Mission9Button" type="MenuWidgets/JuuButton">
     127            <Property name="Visible" value="False" />
     128            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     129            <Property name="Area" value="{{0.18,0},{0.07,0},{0.24,0},{0.145,0}}" />
     130            <Property name="Disabled" value="True" />
     131            <Event function="CampaignMenu.Mission9Button_clicked" name="Clicked" />
    160132        </Window>
    161 
    162         <!-- Back Button************************************* -->
    163         <Window Type="MenuWidgets/Button" Name="orxonox/CampaignMenuBackButton" >
    164             <Property Name="Text" Value="Back" />
    165             <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    166             <Property Name="UnifiedAreaRect" Value="{{0.75,0},{0.9,0},{0.95,0},{0.95,0}}" />
    167             <Event Name="Clicked" Function="CampaignMenu.CampaignMenuBackButton_clicked"/>
     133        <Window name="CampaignMenuBackButton" type="MenuWidgets/Button">
     134            <Property name="Text" value="Back" />
     135            <Property name="MaxSize" value="{{1,0},{1,0}}" />
     136            <Property name="Area" value="{{0.75,0},{0.9,0},{0.95,0},{0.95,0}}" />
     137            <Event function="CampaignMenu.CampaignMenuBackButton_clicked" name="Clicked" />
    168138        </Window>
    169         <Window Type="MenuWidgets/StaticText" Name="orxonox/CampaignMenuCongratulation" >
    170             <Property Name="Text" Value="Campaign Completed!!!" />
    171             <Property Name="Visible" Value="False"/>
    172             <Property Name="InheritsAlpha" Value="False" />
    173             <Property Name="HorzFormatting" Value="HorzCentred" />
    174             <Property Name="VertFormatting" Value="TopAligned" />
    175             <Property Name="UnifiedMaxSize" Value="{{2,1},{2,1}}" />
    176             <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.15,0},{0.6,0},{0.2,0}}" />
     139        <Window name="CampaignMenuCongratulation" type="MenuWidgets/StaticText">
     140            <Property name="Text" value="Campaign Completed!!!" />
     141            <Property name="Visible" value="False" />
     142            <Property name="InheritsAlpha" value="False" />
     143            <Property name="HorzFormatting" value="HorzCentred" />
     144            <Property name="VertFormatting" value="TopAligned" />
     145            <Property name="MaxSize" value="{{2,1},{2,1}}" />
     146            <Property name="Area" value="{{0.4,0},{0.15,0},{0.6,0},{0.2,0}}" />
    177147        </Window>
    178148    </Window>
Note: See TracChangeset for help on using the changeset viewer.