void GUIWindow::Draw( ) { //cout << "Draw Window" << endl; if ( !isInitialized ) { cout << "Start Initializing" << endl; Initialize( ); } else { if ( isVisible( ) ) { drawParent( ); drawChilds( ); } else { // cout << "Invisible" << endl; } } }
void CGUIContainer::draw() { drawChilds(); }