Reimplemented from OglGui::CrossControl. Definition at line 47 of file ImMoveControl.h. References OglGui::OglWindow::GetOGLWND(), IMMOVE_BW, IMMOVE_DOWN, IMMOVE_FW, IMMOVE_LEFT, IMMOVE_RIGHT, IMMOVE_UP, mKeyFunc, OglGui::CrossControl::mResetButton, OglGui::CrossControl::mTargetWnd, and Impala::Application::DemoCamera2d::oglWnd. 00048 { 00049 if (!mTargetWnd ) return; 00050 00051 OGLWND* oglWnd = mTargetWnd->GetOGLWND(); 00052 00053 if (userData == (void*)IMMOVE_FW) 00054 mKeyFunc(oglWnd, oglPAGEDOWN, oglControl); 00055 if (userData == (void*)IMMOVE_BW) 00056 mKeyFunc(oglWnd, oglPAGEUP, oglControl); 00057 if (userData == (void*)IMMOVE_LEFT) 00058 mKeyFunc(oglWnd, oglRIGHT, oglControl); 00059 if (userData == (void*)IMMOVE_RIGHT) 00060 mKeyFunc(oglWnd, oglLEFT, oglControl); 00061 if (userData == (void*)IMMOVE_UP) 00062 mKeyFunc(oglWnd, oglDOWN, oglControl); 00063 if (userData == (void*)IMMOVE_DOWN) 00064 mKeyFunc(oglWnd, oglUP, oglControl); 00065 00066 if (src == mResetButton) 00067 mKeyFunc(oglWnd, oglHOME, oglControl); 00068 00069 }
Here is the call graph for this function:
|