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

virtual void OglGui::ChangingToDemo::WindowKeyboardEvent ( Window src,
int  c,
int  state,
void *  userData 
) [inline, protected, virtual]

Reimplemented from OglGui::WindowListener.

Definition at line 87 of file ChangingToDemo.h.

References OglGui::MyChViewListener, OglGui::MyChangingToViewListener::Reset(), OglGui::sChXRot, OglGui::sChYRot, OglGui::sChZRot, ToCircle(), OglGui::MyChangingToViewListener::ToggleFollowing(), ToGrid(), ToOGL(), ToRandom(), ToSpiral(), and ToStack().

00088     {
00089         MyChViewListener.Reset();
00090         if (c=='x') sChXRot = sChXRot ? 0 : 360;
00091         if (c=='z') sChZRot = sChZRot ? 0 : 360;
00092         if (c=='y') sChYRot = sChYRot ? 0 : 360;
00093         if (c=='r') ToRandom();
00094         if (c=='g') ToGrid();
00095         if (c=='c') ToCircle();
00096         if (c=='s') ToSpiral();
00097         if (c=='o') ToOGL();
00098         if (c=='p') ToStack();
00099         if (c=='f') MyChViewListener.ToggleFollowing();
00100     }

Here is the call graph for this function:


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