Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4253 in orxonox.OLD for orxonox/branches/levelLoader/src/glmenu


Ignore:
Timestamp:
May 21, 2005, 11:58:49 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/levelLoader: constifization

Location:
orxonox/branches/levelLoader/src/glmenu
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelLoader/src/glmenu/glmenu_imagescreen.cc

    r4242 r4253  
    3838   \param root The Element to load the GLMenu from
    3939*/
    40 GLMenuImageScreen::GLMenuImageScreen (TiXmlElement* root)
     40GLMenuImageScreen::GLMenuImageScreen(const TiXmlElement* root)
    4141{
    4242  this->init();
    43   this->load(root);
    44 
     43  this->loadParams(root);
    4544}
    4645
     
    5655   \li ElementCount: INT: how many elements will be loaded
    5756*/
    58 void GLMenuImageScreen::load(TiXmlElement* root)
     57void GLMenuImageScreen::loadParams(const TiXmlElement* root)
    5958{
    6059  LoadParam<GLMenuImageScreen>(root, "BackgroundImage", this, &GLMenuImageScreen::setBackgroundImage);
  • orxonox/branches/levelLoader/src/glmenu/glmenu_imagescreen.h

    r4241 r4253  
    1717 public:
    1818  GLMenuImageScreen ();
    19   GLMenuImageScreen (TiXmlElement* root);
    20   void load(TiXmlElement* root);
     19  GLMenuImageScreen (const TiXmlElement* root);
     20  void loadParams(const TiXmlElement* root);
    2121  virtual ~GLMenuImageScreen ();
    2222
Note: See TracChangeset for help on using the changeset viewer.