Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2008, 1:09:07 AM (16 years ago)
Author:
rgrieder
Message:
  • adjusted Radar to fit in XML loading scheme
  • OverlayGroup should be more or less what I imagine for now (only supports scale method to scale the entire HUD)
  • singletonized HUDNavigation (and HUDRadar of course): These are temporary hacks!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/hud/HUDBar.cc

    r1601 r1604  
    8181                    OverlayManager::getSingleton().createOverlayElement("Panel", getName() + "_Background"));
    8282            this->background_->setMaterialName("Orxonox/BarBackground");
    83             this->background_->setMetricsMode(GMM_RELATIVE);
    84             this->background_->setDimensions(1.0f, 1.0f);
    85             this->background_->setPosition(0.0f, 0.0f);
    8683            this->overlay_->add2D(this->background_);
    8784
     
    9895            this->bar_ = static_cast<PanelOverlayElement*>(OverlayManager::getSingleton().createOverlayElement("Panel", getName() + "Bar"));
    9996            this->bar_->setMaterialName(materialname);
    100             this->bar_->setMetricsMode(GMM_RELATIVE);
    10197            this->background_->addChild(bar_);
    10298        }
Note: See TracChangeset for help on using the changeset viewer.