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

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

Definition at line 600 of file OglDemo.h.

References OglGui::OglWindow::ConnectTo(), OglGui::TitledWindow::ContentPane(), OglGui::OglWindow::GetOGLWND(), OglGui::OglWindow::H(), OglGui::LenseControl::SetLenseTarget(), and OglGui::OglWindow::W().

Referenced by TitledZoomPanLense().

00601     {
00602         TitledWindow* titWnd = new TitledWindow(parent,x,y,w,h,"Lense Control");
00603         Window*       pane   = titWnd->ContentPane();
00604         int           pW     = pane->W();
00605         int           pH     = pane->H();
00606 
00607         LenseControl* lenseC = new LenseControl(pane,0, 0, pW, pH, 100);
00608         LENSE*        lense  = Lense2D(target->GetOGLWND(), 100, 200, 128, 128);
00609         lenseC->SetLenseTarget(lense);
00610         lenseC->ConnectTo(pane);
00611         return  titWnd;
00612     }

Here is the call graph for this function:


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