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

TitledWindow* OglGui::OglDemo::TitledViews ( Window parent,
int  x,
int  y,
int  w,
int  h,
std::string  title,
bool  is2D = true,
int  brdType = BEV_LINE 
) [inline]

Definition at line 406 of file OglDemo.h.

References OglGui::TitledWindow::BtnMaxClose, OglGui::TitledWindow::ContentPane(), OglGui::OglWindow::GetOGLWND(), and OglGui::TitledWindow::SetBorderType().

Referenced by BuildTab_Basic2D3D(), TitledGalaxy(), and TitledZoomPanLense().

00408     {
00409         TitledWindow* tWnd = new TitledWindow(parent, x, y, w, h, title,
00410                                               TitledWindow::BtnMaxClose, is2D);
00411         tWnd->SetBorderType(brdType);
00412 
00413         OGLWND* pOGLWND = tWnd->ContentPane()->GetOGLWND();
00414         if (is2D)
00415             ExampleViewers2dMinMax(pOGLWND,100, 0,1000, 0,650, 100,30, 100,30);
00416         else
00417             ExampleViewers3d(pOGLWND, 6, 5, 4);
00418 
00419         oglSys.AllowPicking(pOGLWND, true, true);
00420         oglSys.AllowDeleteView(pOGLWND, true);
00421         return tWnd;
00422     }

Here is the call graph for this function:


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