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

void Impala::Visualization::OptionsLooks ( OglGui::Window wnd,
String  special = "" 
)

Definition at line 56 of file OptionsLook.h.

References OglGui::OglWindow::GetOglWindow(), OglGui::OglWindow::GetOGLWND(), OglGui::Window::GuiGeneralName(), OglGui::Window::GuiName(), Impala::Application::DemoCamera2d::oglWnd, and OptionsLook().

Referenced by Impala::Application::WindowShowVidSet::WindowShowVidSet().

00057 {
00058     OGLWND* oglWnd = wnd->GetOGLWND();
00059     LIST    *obj;
00060 
00061 //    if (!special.empty())
00062 //        printf("Wnd %ld -> %s\n", wnd, special.c_str());
00063     if (!special.empty())
00064         OptionsLook(wnd,special);
00065     else
00066         OptionsLook(wnd, wnd->GuiGeneralName(), wnd->GuiName());
00067     for (obj=oglWnd->wndList; obj; obj = obj->next)
00068     {
00069         oglWnd = (OGLWND*) obj->info;
00070 
00071         OglGui::Window* child;
00072         if (child = (OglGui::Window*) OglGui::OglWindow::GetOglWindow(oglWnd))
00073         {
00074             if (!child->GuiName().empty())
00075                 OptionsLooks(child,child->GuiName());
00076             else
00077                 OptionsLooks(child);
00078             if (!special.empty())
00079             {
00080                 OptionsLooks(child,special);
00081                 if (!child->GuiGeneralName().empty()) // Note not recursing!!
00082                     OptionsLook(child, special + "." + child->GuiGeneralName());
00083                 if (!child->GuiName().empty())
00084                     OptionsLooks(child,special + "." + child->GuiName());
00085             }
00086         }
00087     }
00088 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:41:46 2010 for ImpalaSrc by  doxygen 1.5.1