Changeset 4101 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- May 7, 2005, 3:11:14 AM (20 years ago)
- Location:
- orxonox/trunk/src/glmenu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/glmenu/glmenu_imagescreen.cc
r4100 r4101 23 23 #include "material.h" 24 24 25 CREATE_FACTORY(GLMenuImageScreen); 26 27 25 28 using namespace std; 26 29 /** … … 34 37 this->init(); 35 38 } 39 40 41 GLMenuImageScreen::GLMenuImageScreen (TiXmlElement* root) 42 { 43 this->init(); 44 45 const char* string; 46 47 // Model Loading 48 string = grabParameter( root, "BackgroundImage"); 49 if( string != NULL) 50 this->setBackgroundImage(string); 51 52 string = grabParameter( root, "BarImage"); 53 if (string != NULL) 54 this->setBarImage(string); 55 56 } 57 36 58 37 59 /** -
orxonox/trunk/src/glmenu/glmenu_imagescreen.h
r4099 r4101 11 11 12 12 class Material; 13 class TiXmlElement; 13 14 14 15 class GLMenuImageScreen : public BaseObject { 15 16 16 private:17 18 17 public: 19 18 GLMenuImageScreen (); 19 GLMenuImageScreen (TiXmlElement* root); 20 20 virtual ~GLMenuImageScreen (); 21 21
Note: See TracChangeset
for help on using the changeset viewer.