huaner
11-08-2007 07:44:53
hi,
how to comprehend the function of injectTime. and why used like gm != NULL
i found there is a function timeElapsed in the source code.
Is not writting elapased time when the cucson is not on the widget?
thank you!
how to comprehend the function of injectTime. and why used like gm != NULL
QuickGUI::GUIManager* gm = QuickGUI::GUIManager::getSingletonPtr();
if( gm != NULL )
gm->injectTime(evt.timeSinceLastFrame);
i found there is a function timeElapsed in the source code.
Is not writting elapased time when the cucson is not on the widget?
thank you!