Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/gui/layouts/SingleplayerMenu.layout @ 9975

Last change on this file since 9975 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
RevLine 
[6363]1<?xml version="1.0" encoding="UTF-8"?>
2
3<GUILayout >
[6746]4    <Window Type="MenuWidgets/StaticImage" Name="orxonox/SingleplayerBackground" >
[6363]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" />
[6746]10        <Window Type="MenuWidgets/StaticText" Name="orxonox/SingleplayerWindow" >
[6363]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" />
[9016]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}" />
[6363]20                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[9016]21                <Property Name="TabPanePosition" Value="Top" />
22                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
[6363]23            </Window>
[9016]24            <Window Type="MenuWidgets/StaticImage" Name="orxonox/SingleplayerLevelImage" >
25                <Property Name="AlwaysOnTop" Value="True" />
[7648]26                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[9016]27                <Property Name="UnifiedAreaRect" Value="{{0.55,0},{0.25,0},{0.9,0},{0.675,0}}" />
[7648]28            </Window>
[9016]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" />
[9782]33                <Property Name="HorzScrollbar" Value="False" />
[9016]34                <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.725,0},{0.9,0},{0.875,0}}" />
[9782]35                <Property Name="HorzFormatting" Value="WordWrapLeftAligned" />
[9016]36            </Window>
[6363]37        </Window>
[6746]38        <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerStartButton" >
[6363]39            <Property Name="Text" Value="Start" />
40            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[9016]41            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
[6363]42            <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerStartButton_clicked"/>
43        </Window>
[9016]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>
[6746]51        <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerBackButton" >
[6363]52            <Property Name="Text" Value="Back" />
53            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
[9016]54            <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
[6363]55            <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerBackButton_clicked"/>
56        </Window>
57    </Window>
58</GUILayout>
Note: See TracBrowser for help on using the repository browser.