Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 18, 2010, 10:07:48 PM (14 years ago)
Author:
rgrieder
Message:

Changed use of CEGUI widgets: Instead of addressing a type with "TaharezLook/Button" I changed it to "MenuWidgets/MyWidget".
That allows to define multiple skins for the menu and simply load the one we like.
Furthermore the idea is to use "HUDWidgets/MyWidget" for HUD elements. But I haven't added that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/data/gui/layouts/PickupInventory.layout

    r6417 r6564  
    11<?xml version="1.0" encoding="UTF-8" ?>
    22<GUILayout>
    3     <Window Type="TaharezLook/FrameWindow" Name="orxonox/Inventory">
     3    <Window Type="MenuWidgets/FrameWindow" Name="orxonox/Inventory">
    44        <Property Name="UnifiedMinSize" Value="{{0.0,385},{0.0,200}}" />
    55        <Property Name="UnifiedMaxSize" Value="{{0.0,385},{0.0,200}}" />
     
    99        <Property Name="CloseButtonEnabled" Value="False" />
    1010
    11         <Window Type="TaharezLook/TabControl" Name="orxonox/Inventory/TabControl" >
     11        <Window Type="MenuWidgets/TabControl" Name="orxonox/Inventory/TabControl" >
    1212            <Property Name="Tooltip" Value="Inventory" />
    1313            <Property Name="TabHeight" Value="{0,-1}" />
     
    1616            <Property Name="UnifiedAreaRect" Value="{{0,10},{0,30},{1,-10},{1,-10}}" />
    1717
    18             <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment">
     18            <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/Inventory/TabControl/TabEquipment">
    1919                <Property Name="Text" Value="Equipment" />
    2020                <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/>
    2121                <Property Name="UnifiedSize" Value="{{1.0,-6},{1.0,-6}}"/>
    2222            </Window>
    23             <Window Type="TaharezLook/ScrollablePane" Name="orxonox/Inventory/TabControl/TabUsable">
     23            <Window Type="MenuWidgets/ScrollablePane" Name="orxonox/Inventory/TabControl/TabUsable">
    2424                <Property Name="Text" Value="Usable" />
    2525                <Property Name="UnifiedPosition" Value="{{0.0,3},{0.0,3}}"/>
Note: See TracChangeset for help on using the changeset viewer.