Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 3:35:18 PM (18 years ago)
Author:
bensch
Message:

new_class_id: glgui adapted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/gui/gl/glgui_box.cc

    r9656 r9689  
    2222namespace OrxGui
    2323{
     24  NewObjectListDefinition(GLGuiBox);
    2425  /**
    2526   * standard constructor
     
    5253  void GLGuiBox::init()
    5354  {
    54     this->setClassID(CL_GLGUI_BOX, "GLGuiBox");
     55    this->registerObject(this, GLGuiBox::_objectList);
    5556  }
    5657
     
    149150    while (itC != this->_children.end())
    150151    {
    151       if ((*itC)->isA(CL_GLGUI_CONTAINER))
     152      if ((*itC)->isA(GLGuiContainer::classID()))
    152153        static_cast<GLGuiContainer*>(*itC)->showAll();
    153154      else
     
    164165    while (itC != this->_children.end())
    165166    {
    166       if ((*itC)->isA(CL_GLGUI_CONTAINER))
     167      if ((*itC)->isA(GLGuiContainer::classID()))
    167168        static_cast<GLGuiContainer*>(*itC)->hideAll();
    168169      else
Note: See TracChangeset for help on using the changeset viewer.