Changeset 9869 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_frame.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_frame.cc
r9406 r9869 21 21 namespace OrxGui 22 22 { 23 23 ObjectListDefinition(GLGuiFrame); 24 24 /** 25 25 * standard constructor … … 44 44 void GLGuiFrame::init() 45 45 { 46 this-> setClassID(CL_GLGUI_FRAME, "GLGuiFrame");46 this->registerObject(this, GLGuiFrame::_objectList); 47 47 this->child = NULL; 48 48 } … … 71 71 if (this->child != NULL) 72 72 { 73 if (this->child->isA( CL_GLGUI_CONTAINER))73 if (this->child->isA(GLGuiContainer::staticClassID())) 74 74 static_cast<GLGuiContainer*>(this->child)->showAll(); 75 75 else … … 83 83 if (this->child != NULL) 84 84 { 85 if (this->child->isA( CL_GLGUI_CONTAINER))85 if (this->child->isA(GLGuiContainer::staticClassID())) 86 86 static_cast<GLGuiContainer*>(this->child)->hideAll(); 87 87 else
Note: See TracChangeset
for help on using the changeset viewer.