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

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

Reimplemented from OglGui::Window.

Definition at line 451 of file ImageSetIdxGrid.h.

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

00452     {
00453         int oldDocY = mDocY;
00454         Window::KeyboardFunc(c, state);
00455         mFlowDragger.KeyboardFunc(c,state);
00456 
00457         if (c == '~')
00458             mFixedCellDims = !mFixedCellDims;
00459 
00460         if (oldDocY != mDocY) // In case keys mapped to external scroller
00461             return;
00462         if (c==oglPAGEDOWN)
00463             mDocY += H();
00464         if (c==oglPAGEUP)
00465             mDocY -= H();
00466         if (c==oglUP)
00467             mDocY += 10;
00468         if (c==oglDOWN)
00469             mDocY -= 10;
00470     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:44:21 2010 for ImpalaSrc by  doxygen 1.5.1