Reimplemented from OglGui::CrossControl. Definition at line 50 of file ViewMoveControl.h. References OglGui::OglWindow::GetOGLWND(), mKeyFunc, OglGui::CrossControl::mTargetWnd, Impala::Application::DemoCamera2d::oglWnd, VIEWMOVE_BW, VIEWMOVE_DOWN, VIEWMOVE_FW, VIEWMOVE_LEFT, VIEWMOVE_RIGHT, and VIEWMOVE_UP. 00051 { 00052 if (!mTargetWnd ) return; 00053 00054 OGLWND* oglWnd = mTargetWnd->GetOGLWND(); 00055 00056 if (userData == (void*)VIEWMOVE_FW) 00057 mKeyFunc(oglWnd, oglPAGEUP, oglShift); 00058 if (userData == (void*)VIEWMOVE_BW) 00059 mKeyFunc(oglWnd, oglPAGEDOWN, oglShift); 00060 if (userData == (void*)VIEWMOVE_LEFT) 00061 mKeyFunc(oglWnd, oglLEFT, oglShift); 00062 if (userData == (void*)VIEWMOVE_RIGHT) 00063 mKeyFunc(oglWnd, oglRIGHT, oglShift); 00064 if (userData == (void*)VIEWMOVE_UP) 00065 mKeyFunc(oglWnd, oglUP, oglShift); 00066 if (userData == (void*)VIEWMOVE_DOWN) 00067 mKeyFunc(oglWnd, oglDOWN, oglShift); 00068 }
Here is the call graph for this function:
|