Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 19, 2008, 9:39:23 PM (16 years ago)
Author:
FelixSchulthess
Message:

edited bar, removed smartbar and replaced functionality with a boolean autoColor to indicate whether the bar should change color automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/hud/RadarOverlayElement.cc

    r1314 r1328  
    5757    }
    5858
    59     void RadarOverlayElement::initRadarOverlayElement(Real leftRel, Real topRel, Real dimRel, Ogre::OverlayContainer* container){
     59    void RadarOverlayElement::init(Real leftRel, Real topRel, Real dimRel, Ogre::OverlayContainer* container){
    6060        count_ = 0;
    6161        dimRel_ = dimRel;
     
    7979        point->show();
    8080        container->addChild(point);
    81         point->setMaterialName("Orxonox/RedPoint");
     81        point->setMaterialName("Orxonox/RedDot");
    8282        point->setDimensions(5,5);
    8383        point->setMetricsMode(Ogre::GMM_PIXELS);
     
    9595        setDimensions(dim_,dim_);
    9696    }
    97 
    98 //    void RadarOverlayElement::setMainShipPosition(int dirX, int dirY, int dirZ, int ortX, int ortY, int ortZ){
    99 //        dirX_=dirX;
    100 //        dirY_=dirY;
    101 //        dirZ_=dirZ;
    102 //        ortX_=ortX;
    103 //        ortY_=ortY;
    104 //        ortZ_=ortZ;
    105 //    }
    10697
    10798    void RadarOverlayElement::update() {
Note: See TracChangeset for help on using the changeset viewer.