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

void OglGui::OglDemo::BuildTab_Basic2D3D ( Tabs tabs  )  [inline]

Definition at line 99 of file OglDemo.h.

References OglGui::TitledWindow::ContentPane(), OglGui::Tabs::CreateTab(), OglGui::OglWindow::GetOGLWND(), OglGui::OglWindow::H(), scExtraControl, OglGui::Window::SetWindowListener(), TitledViews(), and OglGui::OglWindow::W().

Referenced by BuildGUI().

00100     {
00101         Window*       tab = tabs->CreateTab( "Basic 2D/3D", 100 );
00102         int           w  = tab->W();
00103         int           h  = tab->H();
00104         TitledWindow* wnd;
00105 
00106         wnd = TitledViews(tab, 10, 10, (w-30)/2, h-20, "Basic 2D", true);
00107         wnd->ContentPane()->SetWindowListener(this, scExtraControl);
00108         oglSys.SetAllowCameraMove(wnd->ContentPane()->GetOGLWND(), true);
00109 
00110         wnd = TitledViews(tab,(w-30)/2+20,10, (w-30)/2,h-20, "Basic 3D", false);
00111         wnd->ContentPane()->SetWindowListener(this, scExtraControl);
00112         int mode = CamMove_Keys | CamMove_Mouse;
00113         oglSys.SetAllowCameraMove(wnd->ContentPane()->GetOGLWND(), mode);
00114         Camera3DControlEx* cam3DControl =
00115             new Camera3DControlEx(wnd->ContentPane(), 0, 0, 300, 150,
00116                                   wnd->ContentPane());
00117     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:26:38 2011 for ImpalaSrc by  doxygen 1.5.1