- Timestamp:
- Apr 27, 2010, 5:01:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.h
r6417 r6796 36 36 #include "overlays/OrxonoxOverlay.h" 37 37 38 #include <pair> 39 #include <vector> 40 38 41 namespace orxonox 39 42 { 43 class WorldEntity; 40 44 class _OverlaysExport HUDNavigation : public OrxonoxOverlay, public Tickable 41 45 { … … 46 50 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 47 51 virtual void tick(float dt); 52 53 virtual map <WorldEntity*, pair <Ogre::PanelOverlayElement*, Ogre::TextAreaOverlayElement*> > ActiveObjectList; 54 48 55 49 56 private: 50 void sizeChanged(); 57 58 void sizeChanged(); 51 59 void angleChanged() { } 52 60 void positionChanged() { } 61 62 53 63 54 64 // XMLPort accessors … … 70 80 void updateFocus(); 71 81 float getDist2Focus() const; 72 82 void getSingleton(); 83 void getSingleton(); 84 85 void updateActiveObjectMap(); 86 73 87 Ogre::PanelOverlayElement* navMarker_; //!< the panel used to show the arrow and the target marker 74 88 float navMarkerSize_; //!< One paramter size of the navigation marker … … 79 93 Ogre::TextAreaOverlayElement* navText_; //!< Text overlay to display the target distance 80 94 bool wasOutOfView_; //!< Performance booster variable: setMaterial is not cheap 95 96 81 97 }; 82 98 }
Note: See TracChangeset
for help on using the changeset viewer.