Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2005, 3:11:14 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: simple loading facility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/glmenu/glmenu_imagescreen.cc

    r4100 r4101  
    2323#include "material.h"
    2424
     25CREATE_FACTORY(GLMenuImageScreen);
     26
     27
    2528using namespace std;
    2629/**
     
    3437   this->init();
    3538}
     39
     40
     41GLMenuImageScreen::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
    3658
    3759/**
Note: See TracChangeset for help on using the changeset viewer.