Reimplemented from OglGui::Window. Definition at line 70 of file UpDownNumber.h. References ChangeValue(), OglGui::Window::KeyboardFunc(), and mIncrement. 00071 { 00072 Window::KeyboardFunc(c,state); 00073 if (c==oglUP || c == oglRIGHT) 00074 ChangeValue(mIncrement); 00075 if (c==oglDOWN || c == oglLEFT) 00076 ChangeValue(-mIncrement); 00077 if (c==oglPAGEUP || c==oglPAGEDOWN) 00078 ChangeValue(mIncrement * ((c==oglPAGEUP) ? 5 : -5)); 00079 }
Here is the call graph for this function:
|