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

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

Reimplemented from OglGui::WindowListener.

Definition at line 80 of file OglDemo.h.

References OglGui::Window::Is2d(), RotateSelectedViews(), scExtraControl, SetOnDrawViewGraphics(), TitledCamera3DControl(), TitledPanControl(), and TitledViewControl().

00081     {
00082         if (userData == (void*)scExtraControl)
00083         {
00084             if (c == '!')
00085             {
00086                 TitledViewControl(src, 4, 4, src);
00087                 if (!src->Is2d())
00088                     TitledCamera3DControl(src, 378, 4, src);
00089             }
00090             if (c == 'R' && src->Is2d())
00091                 RotateSelectedViews(src);
00092             if (c == 'G' || c == 'g')
00093                 SetOnDrawViewGraphics(src, c=='G');
00094             if (c == 'P' && src->Is2d())
00095                 TitledPanControl(src, 30, 30, 100, 100, src);
00096         }
00097     }

Here is the call graph for this function:


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