Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11407


Ignore:
Timestamp:
Apr 27, 2017, 4:05:23 PM (8 years ago)
Author:
rrogge
Message:

lua Buttons angefangen

Location:
code/branches/Dialogue_FS17/data/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialogue_FS17/data/gui/layouts/Dialogue.layout

    r11406 r11407  
    77        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    88        <Window Type="MenuWidgets/StaticText" Name="orxonox/Dialogue/Inventory" >
    9             <Property Name="Text" Value="Dialogue" />
    109            <Property Name="Alpha" Value="0.8" />
    1110            <Property Name="InheritsAlpha" Value="False" />
     
    1413            <Property Name="VertFormatting" Value="TopAligned" />
    1514            <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.15,0},{0.85,0},{0.8,0}}" />
    16             <Window Type="MenuWidgets/Button" Name="orxonox/PickupInventory/InventoryBackButton" >
    17                 <Property Name="Text" Value="Back" />
    18                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    19                 <Property Name="UnifiedAreaRect" Value="{{0.4,0},{0.8350,0},{0.6,0},{0.8800,0}}" />
    20                 <Event Name="Clicked" Function="PickupInventory.InventoryBackButton_clicked"/>
    21             </Window>
    2215            <Window Type="MenuWidgets/StaticText" Name="orxonox/Dialogue/Wrapper" >
    2316                <Property Name="TextColours" Value="FF4444FF" />
  • code/branches/Dialogue_FS17/data/gui/scripts/Dialogue.lua

    r11406 r11407  
    9393    P.wrapper:setSize(CEGUI.UVector2(CEGUI.UDim(1,0),CEGUI.UDim(1,0)))
    9494    root:addChildWindow(P.wrapper)
     95    root:addChild(answerButton)
    9596   
    9697   
Note: See TracChangeset for help on using the changeset viewer.