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

virtual void OglGui::SpinWheel::KeyboardFunc ( INT  c,
INT  state 
) [inline, virtual]

Definition at line 150 of file SpinWheel.h.

References OglGui::Window::KeyboardFunc(), mIncrement, mMaxVal, mMinVal, mPageIncrement, mVal, and SetValue().

00151     {
00152         Window::KeyboardFunc(c, state);
00153 
00154         if (state & (oglControl|oglAlt|oglShift))
00155             return;
00156 
00157         if (c == oglLEFT || c== oglRIGHT || c == oglUP || c == oglDOWN)
00158             SetValue(mVal + ((c==oglLEFT||c==oglUP) ? -mIncrement:mIncrement));
00159         if (c == oglPAGEUP || c == oglPAGEDOWN)
00160             SetValue(mVal + ((c==oglPAGEUP) ? -mPageIncrement:mPageIncrement));
00161         if (c == oglHOME || c == oglEND)
00162             SetValue((c==oglHOME) ? mMinVal : mMaxVal);
00163     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:06:23 2010 for ImpalaSrc by  doxygen 1.5.1