Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2010, 5:01:43 PM (15 years ago)
Author:
sfluecki
Message:

Neues update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.h

    r6417 r6796  
    3636#include "overlays/OrxonoxOverlay.h"
    3737
     38#include <pair>
     39#include <vector>
     40
    3841namespace orxonox
    3942{
     43class WorldEntity;
    4044    class _OverlaysExport HUDNavigation : public OrxonoxOverlay, public Tickable
    4145    {
     
    4650        virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
    4751        virtual void tick(float dt);
     52       
     53        virtual map <WorldEntity*, pair <Ogre::PanelOverlayElement*, Ogre::TextAreaOverlayElement*> > ActiveObjectList;
     54       
    4855
    4956    private:
    50         void sizeChanged();
     57
     58        void sizeChanged();
    5159        void angleChanged() { }
    5260        void positionChanged() { }
     61       
     62       
    5363
    5464        // XMLPort accessors
     
    7080        void updateFocus();
    7181        float getDist2Focus() const;
    72 
     82        void getSingleton();
     83        void getSingleton();
     84   
     85        void updateActiveObjectMap();
     86       
    7387        Ogre::PanelOverlayElement* navMarker_;      //!< the panel used to show the arrow and the target marker
    7488        float navMarkerSize_;                       //!< One paramter size of the navigation marker
     
    7993        Ogre::TextAreaOverlayElement* navText_;     //!< Text overlay to display the target distance
    8094        bool wasOutOfView_;                         //!< Performance booster variable: setMaterial is not cheap
     95       
     96       
    8197    };
    8298}
Note: See TracChangeset for help on using the changeset viewer.