Definition at line 312 of file CxCheckBoxDrum.h. References ChangeCheckBoxSize(), mDrumRotDx, mDrumRotX, mKeyInfo, mRadius, and mTxt3D. 00313 { 00314 INT shiftDown = state & oglShift; 00315 FLOAT add = shiftDown ? -0.01f : 0.01f; 00316 00317 if( c == 'W' || c == 'w' ) 00318 ChangeCheckBoxSize( (c=='W') ? 0.04:-0.04f, 0.f); 00319 else if( c == 'H' || c == 'h' ) 00320 ChangeCheckBoxSize( 0.f, (c=='H') ? 0.04:-0.04f); 00321 else 00322 CxWnd::KeyboardFunc( c, state ); 00323 00324 if( c == 'i' ) 00325 mKeyInfo = !mKeyInfo; 00326 00327 if( c == 'R' || c == 'r' ) // Radius of Drum 00328 mRadius += (c=='R') ? 0.2f : -0.2f; 00329 00330 if( c == oglESC ) // Reset: Set rotation and rotation speed to zero 00331 mDrumRotDx = mDrumRotX = 0.0f; 00332 00333 if( c == oglCTRL('x') && (mDrumRotDx += add) ) oglSys.SetAlwaysDraw( mOglWnd, 1 ); 00334 00335 if( c == '3' ) mTxt3D = !mTxt3D; 00336 00337 if( c == '#' ) // Pauze/continue 00338 oglSys.SetAlwaysDraw( mOglWnd, !oglSys.GetAlwaysDraw(mOglWnd) ); 00339 00340 oglSys.UpdateSceneFlag( mOglWnd, 1 ); 00341 }
Here is the call graph for this function:
|