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

virtual void Impala::Visualization::DirImViewer::KeyboardFunc ( int  c,
int  state 
) [inline, virtual]

Reimplemented from OglGui::Window.

Definition at line 426 of file DirImViewer.h.

References OglGui::OglWindow::H(), OglGui::Window::KeyboardFunc(), OglGui::DocFlowDrag::KeyboardFunc(), OglGui::DocDimensions::mDocY, mFixedCellDims, and mFlowDragger.

00427     {
00428         int oldDocY = mDocY;
00429         mFlowDragger.KeyboardFunc(c,state);
00430 
00431         if (c == '~')
00432             mFixedCellDims = !mFixedCellDims;
00433 
00434         Window::KeyboardFunc(c, state);
00435 
00436         if (oldDocY != mDocY) // In case keys mapped to external scroller
00437             return;
00438         if (c==oglPAGEDOWN)
00439             mDocY += H();
00440         if (c==oglPAGEUP)
00441             mDocY -= H();
00442         if (c==oglUP)
00443             mDocY += 10;
00444         if (c==oglDOWN)
00445             mDocY -= 10;
00446     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:43:22 2010 for ImpalaSrc by  doxygen 1.5.1