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

void Impala::Application::MediaTable::ViewerPointCloudModule::WindowMouseEvent ( OglGui::Window src,
int  msg,
int  but,
int  state,
int  x,
int  y,
void *  userData 
) [inline, virtual]

Reimplemented from OglGui::WindowListener.

Definition at line 119 of file ViewerPointCloudModule.h.

References OglGui::OglWindow::TopWindowTo(), and OglGui::OglWindow::ToTopWindow().

00121         {
00122                 if ((msg == oglMouseMove || msg == oglMouseDown)
00123                                  && (state & oglLeftButton))
00124                 {
00125                         if(state & oglControl)
00126                         {
00127                                 state &= ~oglControl;
00128                                 state |= oglShift;
00129                         }
00130                         else if(state & oglShift)
00131                         {
00132                                 state &= ~oglShift;
00133                         }
00134                         but = oglRightButton;
00135                         
00136                         OglGui::OglWindow::ToTopWindow(src, x, y);
00137                         OglGui::OglWindow::TopWindowTo(((OglGui::Window*) userData), x, y);
00138                         ((OglGui::Window*) userData)->MouseFunc(msg, but, state, x, y);
00139                 }
00140         }       

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:23 2011 for ImpalaSrc by  doxygen 1.5.1