Reimplemented from OglGui::CrossControl. Definition at line 73 of file ViewRotateControl.h. References OglGui::SixButtonCross::Btn(), OglGui::Window::Is2d(), OglGui::CrossControl::mButtonCross, mKeyFunc, OglGui::CrossControl::mTargetWnd, OglGui::CrossControl::SetTargetWindow(), and OglGui::OglWindow::SetVisible(). Referenced by Init(), and OglGui::SelectedViewControl::SetTargetWindow(). 00074 { 00075 CrossControl::SetTargetWindow(targetWnd); 00076 00077 if (!mTargetWnd ) 00078 return; 00079 00080 bool is2D = mTargetWnd->Is2d(); 00081 mButtonCross->Btn(2)->SetVisible(!is2D); 00082 mButtonCross->Btn(3)->SetVisible(!is2D); 00083 mButtonCross->Btn(4)->SetVisible(!is2D); 00084 mButtonCross->Btn(5)->SetVisible(!is2D); 00085 00086 mKeyFunc = is2D ? viewSys.KeyFunc : view3DSys.KeyFunc; 00087 }
Here is the call graph for this function:
|