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_frame.cc

    r9406 r9689  
    2121namespace OrxGui
    2222{
    23 
     23  NewObjectListDefinition(GLGuiFrame);
    2424  /**
    2525   * standard constructor
     
    4444  void GLGuiFrame::init()
    4545  {
    46     this->setClassID(CL_GLGUI_FRAME, "GLGuiFrame");
     46    this->registerObject(this, GLGuiFrame::_objectList);
    4747    this->child = NULL;
    4848  }
     
    7171    if (this->child != NULL)
    7272    {
    73       if (this->child->isA(CL_GLGUI_CONTAINER))
     73      if (this->child->isA(GLGuiContainer::classID()))
    7474        static_cast<GLGuiContainer*>(this->child)->showAll();
    7575      else
     
    8383    if (this->child != NULL)
    8484    {
    85       if (this->child->isA(CL_GLGUI_CONTAINER))
     85      if (this->child->isA(GLGuiContainer::classID()))
    8686        static_cast<GLGuiContainer*>(this->child)->hideAll();
    8787      else
Note: See TracChangeset for help on using the changeset viewer.