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

virtual void Impala::Visualization::View::OnMouse ( int  msg,
int  btn,
int  state,
float  x,
float  y 
) [inline, virtual]

Reimplemented from OglGui::View.

Definition at line 217 of file View.h.

References mPointerDrag, mPointerDragX, mPointerDragY, mPointerX, mPointerY, OglGui::View::OnMouse(), and OglGui::View::ViewToIm().

00218     {
00219         OglGui::View::OnMouse(msg, btn, state, x, y);
00220         if (msg == oglMouseUp)
00221             mPointerDrag = false;
00222         ViewToIm(x, y, mPointerX, mPointerY);
00223         if ((msg == oglMouseDown) && (btn == oglLeftButton))
00224         {
00225             mPointerDrag = true;
00226             mPointerDragX = mPointerX;
00227             mPointerDragY = mPointerY;
00228         }
00229     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:51:00 2010 for ImpalaSrc by  doxygen 1.5.1