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

void OglGui::OglDemo::Titled4Woggels ( Window wnd,
int  x,
int  y,
int  w,
int  h 
) [inline]

Definition at line 457 of file OglDemo.h.

References OglGui::TitledWindow::BtnMaxClose, OglGui::TitledWindow::GetClientArea(), OglGui::FourPanesWindow::LayoutPanes(), OglGui::TitledWindow::NoContent, OglGui::FourPanesWindow::RegisterPane(), OglGui::TitledWindow::SetContentPane(), OglGui::SizableWindow::SetMinMaxSizes(), and WoggelWindow().

Referenced by BuildTab_Animations().

00458     {
00459         TitledWindow*    tWnd;
00460         FourPanesWindow* panesWnd;
00461         Window*          woggelWnd;
00462         int              i, clX, clY, clW, clH;
00463 
00464         tWnd = new TitledWindow(wnd, x, y, w, h, "Woggel",
00465                                 TitledWindow::NoContent |
00466                                 TitledWindow::BtnMaxClose);
00467 
00468         tWnd->SetMinMaxSizes(250, RETAIN, 250, RETAIN);
00469         tWnd->GetClientArea(clX, clY, clW, clH);
00470         panesWnd = new FourPanesWindow(tWnd, clX, clY, clW, clH);
00471         tWnd->SetContentPane(panesWnd);
00472 
00473         for (i=0; i<4; i++)
00474         {
00475             woggelWnd = WoggelWindow(panesWnd, 0, 0, 100, 100);
00476             panesWnd->RegisterPane(woggelWnd, i);
00477         }
00478         panesWnd->LayoutPanes();
00479         FramesPerSecond* fpsWnd = new FramesPerSecond(panesWnd, 0, 0, 100, 20);
00480     }

Here is the call graph for this function:


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