Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weaponupdateHS14/data/gui/layouts/SingleplayerMenu.layout @ 10152

Last change on this file since 10152 was 9782, checked in by bknecht, 11 years ago

Level description GUI element now wraps text nicely

  • Property svn:eol-style set to native
File size: 3.5 KB
Line 
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}}" />
23            </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}}" />
28            </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" />
36            </Window>
37        </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"/>
43        </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"/>
50        </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"/>
56        </Window>
57    </Window>
58</GUILayout>
Note: See TracBrowser for help on using the repository browser.