Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 13, 2010, 10:16:10 AM (15 years ago)
Author:
dafrick
Message:

Merged pickup4 branch back to trunk.

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/data/gui/layouts/PickupInventory.layout

    r6417 r6711  
    1 <?xml version="1.0" encoding="UTF-8" ?>
    2 <GUILayout>
    3     <Window Type="TaharezLook/FrameWindow" Name="orxonox/Inventory">
    4         <Property Name="UnifiedMinSize" Value="{{0.0,385},{0.0,200}}" />
    5         <Property Name="UnifiedMaxSize" Value="{{0.0,385},{0.0,200}}" />
    6         <Property Name="UnifiedPosition" Value="{{0.5,-100},{0.5,-85}}" />
    7         <Property Name="UnifiedSize" Value="{{0.0,385},{0.0,200}}" />
    8         <Property Name="Text" Value="Inventory" />
    9         <Property Name="CloseButtonEnabled" Value="False" />
     1<?xml version="1.0" encoding="UTF-8"?>
    102
    11         <Window Type="TaharezLook/TabControl" Name="orxonox/Inventory/TabControl" >
    12             <Property Name="Tooltip" Value="Inventory" />
    13             <Property Name="TabHeight" Value="{0,-1}" />
     3<GUILayout >
     4    <Window Type="DefaultWindow" Name="orxonox/PickupInventory/Background" >
     5        <Property Name="InheritsAlpha" Value="False" />
     6        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     7        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
     8        <Window Type="TaharezLook/StaticText" Name="orxonox/PickupInventory/PickupInventory" >
     9            <Property Name="Text" Value="Pickup Inventory" />
     10            <Property Name="Alpha" Value="0.8" />
     11            <Property Name="InheritsAlpha" Value="False" />
     12            <Property Name="HorzFormatting" Value="HorzCentred" />
    1413            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    15             <Property Name="TabPanePosition" Value="Bottom" />
    16             <Property Name="UnifiedAreaRect" Value="{{0,10},{0,30},{1,-10},{1,-10}}" />
    17 
    18             <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment">
    19                 <Property Name="Text" Value="Equipment" />
    20                 <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/>
    21                 <Property Name="UnifiedSize" Value="{{1.0,-6},{1.0,-6}}"/>
    22             </Window>
    23             <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabUsable">
    24                 <Property Name="Text" Value="Usable" />
    25                 <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/>
    26                 <Property Name="UnifiedSize" Value="{{1.0,-6},{1.0,-6}}"/>
     14            <Property Name="VertFormatting" Value="TopAligned" />
     15            <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.15,0},{0.85,0},{0.8,0}}" />
     16            <Window Type="TaharezLook/StaticText" Name="orxonox/PickupInventory/Wrapper" >
     17                <Property Name="TextColours" Value="FF4444FF" />
     18                <Property Name="InheritsAlpha" Value="False" />
     19                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     20                <Property Name="HorzFormatting" Value="HorzCentred" />
     21                <Property Name="VertFormatting" Value="TopAligned" />
     22                <Property Name="UnifiedAreaRect" Value="{{0.05,0},{0.15,0},{0.95,0},{0.92,0}}" />
     23                <Window Type="TaharezLook/ScrollablePane" Name="orxonox/PickupInventory/Inventory" >
     24                    <Property Name="ContentArea" Value="l:0 t:0 r:0 b:0" />
     25                    <Property Name="HorzStepSize" Value="0.005" />
     26                    <Property Name="VertStepSize" Value="0.005" />
     27                    <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     28                    <Property Name="HorzOverlapSize" Value="0.01" />
     29                    <Property Name="UnifiedAreaRect" Value="{{0.005,0},{0.01,0},{0.995,0},{0.99,0}}" />
     30                    <Property Name="VertOverlapSize" Value="0.01" />
     31                    <Property Name="HorzScrollPosition" Value="0" />
     32                    <Property Name="VertScrollPosition" Value="0" />
     33                </Window>
    2734            </Window>
    2835        </Window>
    29 
    30         <Event Name="WindowUpdate" Function="PickupInventory.update" />
     36        <Window Type="TaharezLook/Button" Name="orxonox/PickupInventory/InventoryBackButton" >
     37            <Property Name="Text" Value="Back" />
     38            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     39            <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.8350,0},{0.6,0},{0.8800,0}}" />
     40            <Event Name="Clicked" Function="PickupInventory.InventoryBackButton_clicked"/>
     41        </Window>
    3142    </Window>
    3243</GUILayout>
Note: See TracChangeset for help on using the changeset viewer.