Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2014, 4:08:14 PM (10 years ago)
Author:
aejonas
Message:

health bar is now under the spaceship while moving

File:
1 edited

Legend:

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

    r10110 r10122  
    7878            {
    7979
    80                 //manipulation bzw versuch !!! Jonas
     80                //manipulation bzw versuch !!! health additional
    8181                Ogre::PanelOverlayElement* health_;
    82 
    8382                Ogre::PanelOverlayElement* panel_;
    8483                Ogre::PanelOverlayElement* target_;
     
    9291
    9392            // XMLPort accessors
     93            inline void setHealthMarkerSize(float size)
     94                        {
     95                            this->healthMarkerSize_ = size;
     96                            this->sizeChanged();
     97                        }
     98            inline float getHealthMarkerSize() const
     99                                { return healthMarkerSize_; }
     100
    94101            inline void setNavMarkerSize(float size)
    95102            {
     
    104111                this->sizeChanged();
    105112            }
     113
    106114            inline float getAimMarkerSize() const
    107115                { return aimMarkerSize_; }
     
    125133            std::list<std::pair<RadarViewable*, unsigned int> > sortedObjectList_;
    126134
     135            float healthMarkerSize_;
    127136            float navMarkerSize_;
    128137            float aimMarkerSize_;
Note: See TracChangeset for help on using the changeset viewer.