Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

virtual void Impala::Application::Src::WindowSrc::MouseFunc ( INT  msg,
INT  but,
INT  state,
INT  x,
INT  y 
) [inline, virtual]

Definition at line 548 of file mainSrc.cpp.

References Impala::Visualization::AppControlSrc::FpsReset(), OglGui::OglWindow::mOglWnd, and OglGui::Window::MouseFunc().

00549     {
00550         Window::MouseFunc(msg, but, state, x, y);
00551 
00552         if ((msg == oglMouseDown) && (but == oglRightButton))
00553         {
00554             OGLMENU menu = oglSys.MenuCreate();
00555             oglSys.MenuAdd(menu, "fps reset", 0, 2);
00556 
00557             int choice = oglSys.MenuPopUp(mOglWnd, menu);
00558 
00559             switch (choice)
00560             {
00561             case 2:
00562                 FpsReset();
00563                 break;
00564             }
00565 
00566             oglSys.MenuDestroy(menu);
00567             oglSys.UpdateSceneFlag(mOglWnd, 1);
00568         }
00569     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:50:45 2010 for ImpalaSrc by  doxygen 1.5.1