Reimplemented from OglGui::CrossControl. Definition at line 71 of file ImMoveControl.h. References OglGui::Window::Is2d(), mKeyFunc, OglGui::CrossControl::mTargetWnd, and OglGui::CrossControl::SetTargetWindow(). Referenced by Init(), and OglGui::SelectedViewControl::SetTargetWindow(). 00072 { 00073 CrossControl::SetTargetWindow(targetWnd); 00074 00075 if (!mTargetWnd ) 00076 { 00077 mKeyFunc = 0; 00078 return; 00079 } 00080 bool is2D = mTargetWnd->Is2d(); 00081 mKeyFunc = is2D ? viewSys.KeyFunc : view3DSys.KeyFunc; 00082 }
Here is the call graph for this function:
|