Definition at line 575 of file OglDemo.h. References OglGui::OglWindow::ConnectTo(), OglGui::TitledWindow::ContentPane(), OglGui::OglWindow::H(), OglGui::ZoomControl::SetZoomTarget(), and OglGui::OglWindow::W(). Referenced by TitledZoomPanLense(). 00576 { 00577 TitledWindow* titWnd = new TitledWindow(parent,x,y,w,h,"Zoom Control"); 00578 Window* pane = titWnd->ContentPane(); 00579 ZoomControl* zoomC = new ZoomControl(pane,0,0,pane->W(),pane->H(),10); 00580 zoomC->SetZoomTarget(target); 00581 zoomC->ConnectTo(pane); 00582 return titWnd; 00583 }
Here is the call graph for this function:
|