Definition at line 549 of file mainSrc.cpp. References Impala::Visualization::AppControlSrc::FpsReset(), OglGui::OglWindow::mOglWnd, and OglGui::Window::MouseFunc(). 00550 { 00551 Window::MouseFunc(msg, but, state, x, y); 00552 00553 if ((msg == oglMouseDown) && (but == oglRightButton)) 00554 { 00555 OGLMENU menu = oglSys.MenuCreate(); 00556 oglSys.MenuAdd(menu, "fps reset", 0, 2); 00557 00558 int choice = oglSys.MenuPopUp(mOglWnd, menu); 00559 00560 switch (choice) 00561 { 00562 case 2: 00563 FpsReset(); 00564 break; 00565 } 00566 00567 oglSys.MenuDestroy(menu); 00568 oglSys.UpdateSceneFlag(mOglWnd, 1); 00569 } 00570 }
Here is the call graph for this function:
|