Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2011, 1:31:12 PM (13 years ago)
Author:
baermatt
Message:

Added screenshots and description-box in singleplayer menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/menue/data/gui/layouts/SingleplayerMenu.layout

    r8894 r8912  
    1515            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    1616            <Property Name="VertFormatting" Value="TopAligned" />
    17             <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.2875,0},{0.75,0},{0.7,0}}" />
     17            <Property Name="UnifiedAreaRect" Value="{{0.2,0},{0.2,0},{0.8,0},{0.7,0}}" />
    1818            <Window Type="MenuWidgets/TabControl" Name="orxonox/SingleplayerTabControl" >
    1919                <Property Name="TabHeight" Value="{0,26.4388}" />
     
    2222                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.1,0},{0.95,0},{0.925,0}}" />
    2323            </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.7,0}}" />
     28            </Window>
     29            <Window Type="MenuWidgets/StaticText" Name="orxonox/SingleplayerLevelDescriptionWrapper" >
     30                <Property Name="AlwaysOnTop" Value="True" />
     31                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     32                <Property Name="HorzFormatting" Value="HorzCentred" />
     33                <Property Name="VertFormatting" Value="TopAligned" />
     34                <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.75,0},{0.9,0},{0.85,0}}" />
     35                <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/SingleplayerLevelDescriptionPane" >
     36                    <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
     37                    <Property Name="HorzStepSize" Value="0.005" />
     38                    <Property Name="VertStepSize" Value="0.005" />
     39                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     40                    <Property Name="HorzOverlapSize" Value="0.01" />
     41                    <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0.997,0},{0.997,0}}" />
     42                    <Property Name="VertOverlapSize" Value="0.01" />
     43                    <Property Name="HorzScrollPosition" Value="0" />
     44                    <Property Name="VertScrollPosition" Value="0" />
     45                    <Window Type="MenuWidgets/StaticText" Name="orxonox/SingleplayerLevelDescription" >
     46                        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     47                        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
     48                    </Window>
     49                </Window>
     50            </Window>
    2451        </Window>
    2552        <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerStartButton" >
    2653            <Property Name="Text" Value="Start" />
    2754            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    28             <Property Name="UnifiedAreaRect" Value="{{0.2875,0},{0.725,0},{0.4875,0},{0.775,0}}" />
     55            <Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.725,0},{0.4,0},{0.775,0}}" />
    2956            <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerStartButton_clicked"/>
     57        </Window>
     58        <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerConfigButton" >
     59            <Property Name="Text" Value="Configure" />
     60            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     61            <Property Name="UnifiedAreaRect" Value="{{0.425,0},{0.725,0},{0.575,0},{0.775,0}}" />
     62            <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerConfigButton_clicked"/>
    3063        </Window>
    3164        <Window Type="MenuWidgets/Button" Name="orxonox/SingleplayerBackButton" >
    3265            <Property Name="Text" Value="Back" />
    3366            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    34             <Property Name="UnifiedAreaRect" Value="{{0.5125,0},{0.725,0},{0.7125,0},{0.775,0}}" />
     67            <Property Name="UnifiedAreaRect" Value="{{0.6,0},{0.725,0},{0.75,0},{0.775,0}}" />
    3568            <Event Name="Clicked" Function="SingleplayerMenu.SingleplayerBackButton_clicked"/>
    3669        </Window>
Note: See TracChangeset for help on using the changeset viewer.