Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2009, 8:55:23 PM (16 years ago)
Author:
danielh
Message:

Moved most of the inventory logic to C++ (slight speedup, but still slow)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/gui/layouts/PickupInventory.layout

    r5506 r5526  
    22<GUILayout>
    33    <Window Type="TaharezLook/FrameWindow" Name="orxonox/Inventory">
    4         <Property Name="UnifiedMinSize" Value="{{0.4,0},{0.3,0}}" />
    5         <Property Name="UnifiedMaxSize" Value="{{0.8,0},{0.8,0}}" />
    6         <Property Name="UnifiedPosition" Value="{{0.3,0},{0.35,0}}" />
    7         <Property Name="UnifiedSize" Value="{{0.4,0},{0.3,0}}" />
     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}}" />
    88        <Property Name="Text" Value="Inventory" />
    99        <Property Name="CloseButtonEnabled" Value="False" />
     
    1818            <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment">
    1919                <Property Name="Text" Value="Equipment" />
    20                 <Property Name="UnifiedPosition" Value="{{0,0},{0,0}}"/>
    21                 <Property Name="UnifiedSize" Value="{{1.0,0},{1.0,0}}"/>
    22                
    23                 <Window Type="TaharezLook/Button" Name="orxonox/Inventory/equipmentButton/1">
    24                     <Property Name="UnifiedPosition" Value="{{0.0,6},{0.0,6}}"/>
    25                     <Property Name="UnifiedSize" Value="{{0.2,-12},{0.2,-12}}"/>
    26                     <Property Name="Text" Value="1"/>
    27                 </Window>
    28                 <Window Type="TaharezLook/Button" Name="orxonox/Inventory/equipmentButton/2">
    29                     <Property Name="UnifiedPosition" Value="{{0.2,6},{0.0,6}}"/>
    30                     <Property Name="UnifiedSize" Value="{{0.2,-12},{0.2,-12}}"/>
    31                     <Property Name="Text" Value="2"/>
    32                 </Window>
    33                 <Window Type="TaharezLook/Button" Name="orxonox/Inventory/equipmentButton/3">
    34                     <Property Name="UnifiedPosition" Value="{{0.4,6},{0.0,6}}"/>
    35                     <Property Name="UnifiedSize" Value="{{0.2,-12},{0.2,-12}}"/>
    36                     <Property Name="Text" Value="3"/>
    37                 </Window>
    38                 <Window Type="TaharezLook/Button" Name="orxonox/Inventory/equipmentButton/4">
    39                     <Property Name="UnifiedPosition" Value="{{0.6,6},{0.0,6}}"/>
    40                     <Property Name="UnifiedSize" Value="{{0.2,-12},{0.2,-12}}"/>
    41                     <Property Name="Text" Value="4"/>
    42                 </Window>
    43                 <Window Type="TaharezLook/Button" Name="orxonox/Inventory/equipmentButton/5">
    44                     <Property Name="UnifiedPosition" Value="{{0.8,6},{0.0,6}}"/>
    45                     <Property Name="UnifiedSize" Value="{{0.2,-12},{0.2,-12}}"/>
    46                     <Property Name="Text" Value="5"/>
    47                 </Window>
     20                <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/>
     21                <Property Name="UnifiedSize" Value="{{1.0,-6},{1.0,-6}}"/>
    4822            </Window>
    4923            <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabUsable">
    5024                <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}}"/>
    5127            </Window>
    5228           
Note: See TracChangeset for help on using the changeset viewer.