injectTimePulse and "Updated" event
Posted: Tue Sep 04, 2012 07:50
Hi,
I guess I am doing something wrong, however, I am not sure what. I am working with the latest 1.0 source code from the Mercurial repository.
Basically, I have subscribed to the "Updated" event, however, the handler never gets called. I am calling the following method in my code, each frame:
However, I have noticed that the Window::update() doesn't get called, so, no "Updated" event gets triggered.
I have found out I have to call the following method too:
Should I really call both methods ?
Thanks !
I guess I am doing something wrong, however, I am not sure what. I am working with the latest 1.0 source code from the Mercurial repository.
Basically, I have subscribed to the "Updated" event, however, the handler never gets called. I am calling the following method in my code, each frame:
Code: Select all
CEGUI::System::getSingleton().injectTimePulse(fElapsed);
However, I have noticed that the Window::update() doesn't get called, so, no "Updated" event gets triggered.
I have found out I have to call the following method too:
Code: Select all
CEGUI::System::getSingleton().getDefaultGUIContext().injectTimePulse(fElapsed);
Should I really call both methods ?
Thanks !