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: ![]()
|