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

TitledWindow* OglGui::OglDemo::TitledGalaxy ( Window parent,
int  x,
int  y,
int  w,
int  h 
) [inline]

Definition at line 193 of file OglDemo.h.

References OglGui::TitledWindow::ContentPane(), OglGui::OglWindow::GetOGLWND(), Navigate2DChild(), Impala::Application::DemoCamera2d::oglWnd, scExtraControl, OglGui::TitledWindow::SetContentPane(), OglGui::Window::SetWindowListener(), TitledViews(), and OglGui::Window::Window().

Referenced by BuildTab_Galaxy(), and NestedDropDown().

00194     {
00195         TitledWindow* viewTW = TitledViews(parent, x, y, w, h, "Galaxy");
00196         Window*       viewCP = viewTW->ContentPane();
00197         TitledWindow* navTW  = new TitledWindow(viewCP,8,8,208,232,"Navigate");
00198         OGLWND*       oglWnd = Navigate2DChild(navTW->GetOGLWND(),
00199                                                viewCP->GetOGLWND(),0,0,10,10);
00200         Window*       navWnd  = new Window(oglWnd);
00201 
00202         oglSys.SetUserData(oglWnd, 2, (void*)1); // Also copy OnDrawView in van viewers
00203 
00204         navTW->SetContentPane(navWnd);
00205         Lense2D(viewCP->GetOGLWND(), 200, 200, 200, 200);
00206         viewCP->SetWindowListener(this, scExtraControl);
00207         return viewTW;
00208     }

Here is the call graph for this function:


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