Definition at line 193 of file mainBackground.cpp. References Impala::Visualization::AppControlSrc::FpsReset(), OglGui::OglWindow::mOglWnd, and OglGui::Window::MouseFunc(). 00194 { 00195 Window::MouseFunc(msg, but, state, x, y); 00196 00197 if ((msg == oglMouseDown) && (but == oglRightButton)) 00198 { 00199 OGLMENU menu = oglSys.MenuCreate(); 00200 oglSys.MenuAdd(menu, "fps reset", 0, 2); 00201 00202 int choice = oglSys.MenuPopUp(mOglWnd, menu); 00203 00204 switch (choice) 00205 { 00206 case 2: 00207 FpsReset(); 00208 break; 00209 } 00210 00211 oglSys.MenuDestroy(menu); 00212 oglSys.UpdateSceneFlag(mOglWnd, 1); 00213 } 00214 }
Here is the call graph for this function:
|