Changeset 1012 for code/branches/hud2/src/orxonox/hud/Bar.cc
- Timestamp:
- Apr 10, 2008, 1:41:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud2/src/orxonox/hud/Bar.cc
r1002 r1012 28 28 #include <OgreOverlayManager.h> 29 29 #include <OgreOverlayElement.h> 30 #include <OgreOverlayContainer.h> 31 #include <OgrePanelOverlayElement.h> 30 32 #include <OgreStringConverter.h> 31 33 #include <OgreColourValue.h> 32 34 #include <string.h> 33 35 34 #include "Bar V1.h"36 #include "Bar.h" 35 37 36 38 namespace orxonox … … 38 40 using namespace Ogre; 39 41 40 Bar::Bar(const String& name):Ogre::OverlayElement(name){} 42 // typeName_s = "Bar"; 43 44 Bar::Bar(const String& name):Ogre::PanelOverlayElement(name){ 45 } 41 46 42 47 48 Bar::~Bar(){} 49 50 // const Ogre::String& Bar::getTypeName() const { return typeName_s;} 51 52 53 54 void Bar::initialise(){ 55 PanelOverlayElement::initialise(); 56 setDimensions(100,100); 57 setPosition(10,10); 58 setMaterialName("Orxonox/Green"); 59 setMetricsMode(Ogre::GMM_PIXELS); 60 } 43 61 44 62
Note: See TracChangeset
for help on using the changeset viewer.