Definition at line 267 of file Window.h. References FindView(), OglGui::Window::mIs2d, and OglGui::OglWindow::mOglWnd. Referenced by FindView(). 00268 { 00269 if (mIs2d) 00270 { 00271 OGLVIEW* view = viewSys.FindView(mOglWnd, x, y); 00272 if (!view) 00273 return 0; 00274 OglGui::View* v = (OglGui::View*) viewSys.GetSysData(view, 1); 00275 return (View*) v; 00276 } 00277 else 00278 { 00279 OGLVIEW3D* view = view3DSys.FindView(mOglWnd, x, y); 00280 if (!view) 00281 return 0; 00282 OglGui::View* v = (OglGui::View*) view3DSys.GetSysData(view, 1); 00283 return (View*) v; 00284 } 00285 }
Here is the call graph for this function:
|