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

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

Reimplemented from OglGui::Window.

Definition at line 422 of file DirImViewer.h.

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

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

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:38 2011 for ImpalaSrc by  doxygen 1.5.1