- Timestamp:
- Feb 20, 2018, 11:42:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cegui0.8_ogre1.9/data/gui/layouts/HostMenu.layout
r7887 r11793 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}}" /> 21 20 </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" /> 27 26 </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" /> 33 32 </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" /> 39 38 </Window> 40 39 </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" /> 46 45 </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" /> 52 51 </Window> 53 52 </Window> 54 53 </GUILayout> 55
Note: See TracChangeset
for help on using the changeset viewer.