Changeset 6917 for code/branches/hudelements
- Timestamp:
- May 17, 2010, 3:51:43 PM (15 years ago)
- Location:
- code/branches/hudelements
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hudelements/data/gui/scripts/InGamePickupHUD.lua
r6631 r6917 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?>>17 15 end 18 16 … … 21 19 22 20 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 23 27 24 28 function P.close_button_clicked() -
code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc
r6914 r6917 217 217 // aimMarker_->hide(); 218 218 219 if (!tempRadarViewable->second.wasOutOfView_ _)219 if (!tempRadarViewable->second.wasOutOfView_) 220 220 { 221 221 tempRadarViewable->second.panel_->setMaterialName("Orxonox/NavArrows"); 222 tempRadarViewable->second.wasOutOfView_ _= true;222 tempRadarViewable->second.wasOutOfView_ = true; 223 223 } 224 224 … … 281 281 { 282 282 tempRadarViewable->second.panel_->setMaterialName("Orxonox/NavTDC"); 283 tempRadarViewable->second.wasOutOfView_ _= false;283 tempRadarViewable->second.wasOutOfView_ = false; 284 284 } 285 285 … … 397 397 activeObjectList_.erase(viewable); 398 398 } 399 399 400 } 400 401 -
code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.h
r6914 r6917 113 113 114 114 Ogre::PanelOverlayElement* panel_; 115 Ogre::TextAreaOverlayElement text_;115 Ogre::TextAreaOverlayElement* text_; 116 116 bool outOfView_; 117 117 bool wasOutOfView_;
Note: See TracChangeset
for help on using the changeset viewer.