Changeset 9689 in orxonox.OLD for branches/new_class_id/src/lib/gui/gl/glgui_box.cc
- Timestamp:
- Aug 22, 2006, 3:35:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/gui/gl/glgui_box.cc
r9656 r9689 22 22 namespace OrxGui 23 23 { 24 NewObjectListDefinition(GLGuiBox); 24 25 /** 25 26 * standard constructor … … 52 53 void GLGuiBox::init() 53 54 { 54 this-> setClassID(CL_GLGUI_BOX, "GLGuiBox");55 this->registerObject(this, GLGuiBox::_objectList); 55 56 } 56 57 … … 149 150 while (itC != this->_children.end()) 150 151 { 151 if ((*itC)->isA( CL_GLGUI_CONTAINER))152 if ((*itC)->isA(GLGuiContainer::classID())) 152 153 static_cast<GLGuiContainer*>(*itC)->showAll(); 153 154 else … … 164 165 while (itC != this->_children.end()) 165 166 { 166 if ((*itC)->isA( CL_GLGUI_CONTAINER))167 if ((*itC)->isA(GLGuiContainer::classID())) 167 168 static_cast<GLGuiContainer*>(*itC)->hideAll(); 168 169 else
Note: See TracChangeset
for help on using the changeset viewer.