Changeset 6631 for code/branches
- Timestamp:
- Mar 29, 2010, 11:28:59 AM (15 years ago)
- Location:
- code/branches/hudelements/data/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hudelements/data/gui/layouts/InGamePickupHUD.layout
r6615 r6631 30 30 <Event Name="Clicked" Function="InGamePickupHUD.close_button_clicked"/> 31 31 </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> 32 47 33 48 </Window> -
code/branches/hudelements/data/gui/scripts/InGamePickupHUD.lua
r6615 r6631 13 13 14 14 function P:init() 15 -- wie kann man hier dynamisch neue ListBoxItems erstellen? 16 -- wie können sich diese ListBoxItems selbst aktualisieren? <<Tickable?>> 15 17 end 16 18 … … 19 21 20 22 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 end27 23 28 24 function P.close_button_clicked()
Note: See TracChangeset
for help on using the changeset viewer.