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

virtual void OglGui::ChangingToDemo::WindowDisplayEvent ( Window src,
void *  userData 
) [inline, protected, virtual]

Reimplemented from OglGui::WindowListener.

Definition at line 103 of file ChangingToDemo.h.

References lastChangeTime, mode, pickRandom, and SelectMode().

00104     {
00105         if (pickRandom && (oglWndSecondsSinceStart-lastChangeTime)>5)
00106         {
00107             mode = (mode + 1) % 6;
00108             SelectMode(mode);
00109             lastChangeTime = oglWndSecondsSinceStart;
00110         }
00111     }

Here is the call graph for this function:


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