Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void OglGui::OglDemo::SetOnDrawViewGraphics ( Window src,
bool  drawGraphics = true 
) [inline]

Definition at line 676 of file OglDemo.h.

References OglGui::OglWindow::GetOGLWND(), OglGui::Window::Is2d(), MyOnDrawView2D(), MyOnDrawView3D(), and Impala::Application::DemoCamera2d::oglWnd.

Referenced by WindowKeyboardEvent().

00677     {
00678         OGLWND* oglWnd = src->GetOGLWND();
00679         LIST*   obj;
00680 
00681         ForAllElements(obj, oglWnd->objectList)
00682         {
00683             if (src->Is2d())
00684             {
00685                 OGLVIEW* view = (OGLVIEW*) obj->info;
00686                 if (viewSys.HasTags(view, selectedTag))
00687                     view->OnDrawView = drawGraphics ? MyOnDrawView2D : 0;
00688             }
00689             else
00690             {
00691                 OGLVIEW3D* view = (OGLVIEW3D*) obj->info;
00692                 if (view3DSys.HasTags(view, selectedTag))
00693                     view->OnDrawView = drawGraphics ? MyOnDrawView3D : 0;
00694             }
00695         }
00696     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:03:53 2010 for ImpalaSrc by  doxygen 1.5.1