Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2008, 6:49:46 PM (16 years ago)
Author:
FelixSchulthess
Message:

moved navigation marker to new class: Navigation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/Navigation.h

    r1393 r1394  
    3131#include <OgrePrerequisites.h>
    3232#include <OgrePanelOverlayElement.h>
     33#include <OgreTextAreaOverlayElement.h>
    3334#include "../OrxonoxPrereqs.h"
    3435#include "util/Math.h"
     
    4142        private:
    4243                Ogre::OverlayManager* om;                                   // our one and only overlay manager
     44            Ogre::OverlayContainer* container_;
     45            Ogre::PanelOverlayElement* navMarker_;      // the panel used to show the arrow
     46            Ogre::TextAreaOverlayElement navText_;      // displaying distance...
    4347                Vector3 shipPos_;                           // position of ship
    4448                int windowW_, windowH_;
     
    5054                Navigation(Ogre::OverlayContainer* container, RadarObject* focus);
    5155                ~Navigation();
    52             Ogre::OverlayContainer* container_;
    53                         Ogre::PanelOverlayElement* navMarker_;     // the panel used to show the dot
    5456                        RadarObject* focus_;                        // next pointer of linked list
    5557
Note: See TracChangeset for help on using the changeset viewer.