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

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

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:


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