- Timestamp:
- Jun 11, 2008, 12:21:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/hud/OverlayElementFactories.h
r1564 r1588 36 36 #include <OgreOverlayElementFactory.h> 37 37 38 #include "BarOverlayElement.h"39 38 #include "RadarOverlayElement.h" 40 39 41 40 namespace orxonox 42 41 { 43 class _OrxonoxExport BarOverlayElementFactory : public Ogre::OverlayElementFactory{44 public:45 Ogre::OverlayElement* createOverlayElement(const Ogre::String& instanceName){46 return new BarOverlayElement(instanceName);47 }48 const Ogre::String& getTypeName(void) const{49 static Ogre::String name = "Bar";50 return name;51 }52 };53 54 42 class _OrxonoxExport RadarOverlayElementFactory : public Ogre::OverlayElementFactory{ 55 43 public:
Note: See TracChangeset
for help on using the changeset viewer.