Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6631


Ignore:
Timestamp:
Mar 29, 2010, 11:28:59 AM (14 years ago)
Author:
sfluecki
Message:

damit semi alles hat

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

Legend:

Unmodified
Added
Removed
  • code/branches/hudelements/data/gui/layouts/InGamePickupHUD.layout

    r6615 r6631  
    3030                                <Event Name="Clicked" Function="InGamePickupHUD.close_button_clicked"/>
    3131                        </Window>
     32                        <Window Type="TaharezLook/Listbox" Name="orxonox/InGamePickupHUD_PickupListBox">
     33                                <Property Name="Alpha" Value="0.8" />
     34                                <Property Name="Font" Value="BlueHighway-12" />
     35                                <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     36                                <Property Name="UnifiedAreaRect" Value="{{0,5},{0,25},{1,-5},{1,-5}}" />       
     37                                <!--
     38                                <Window Type="TaharezLook/ListboxItem" Name="orxonox/InGamePickupHUD_TestPickupOne">
     39                                        <Property Name="Alpha" Value="0.8" />
     40                                        <Property Name="Font" Value="BlueHighway-12" />
     41                                        <Property Name="Text" Value="First Pickup" />
     42                                        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
     43                                        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0,30},{1,0}}" /> 
     44                                </Window>
     45                                -->
     46                        </Window>
    3247                       
    3348                </Window>
  • code/branches/hudelements/data/gui/scripts/InGamePickupHUD.lua

    r6615 r6631  
    1313
    1414function P:init()
     15  -- wie kann man hier dynamisch neue ListBoxItems erstellen?
     16  -- wie können sich diese ListBoxItems selbst aktualisieren? <<Tickable?>>
    1517end
    1618
     
    1921
    2022
    21 function P.button_Pickup_clicked(e)
    22     orxonox.Game:getInstance():popState()
    23     orxonox.Game:getInstance():popState()
    24     orxonox.Game:getInstance():requestState("mainmenu")
    25     hideGUI("InGameMenu")
    26 end
    2723
    2824function P.close_button_clicked()
Note: See TracChangeset for help on using the changeset viewer.