Getting Timepulses...

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
NSXEagle
Just popping in
Just popping in
Posts: 14
Joined: Wed Jan 12, 2005 12:06
Location: Kokubunji-shi, Tokyo-to, Japan
Contact:

Getting Timepulses...

Postby NSXEagle » Fri May 20, 2005 17:41

Is there any chance that I can subscribe for an event that fires every time CEGUI gets a time pulse (via the injectTimePulse() method)?? :?

If not, I think I have to implement my own Timer class.

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Getting Timepulses...

Postby lindquist » Mon May 23, 2005 11:58

the 'updateSelf' function gets called, but that means that you have to sub-class the widget you want to handle timepulses.

No events are fired. (I could imagine that this would be performance issue)

User avatar
NSXEagle
Just popping in
Just popping in
Posts: 14
Joined: Wed Jan 12, 2005 12:06
Location: Kokubunji-shi, Tokyo-to, Japan
Contact:

Re: Getting Timepulses...

Postby NSXEagle » Mon May 23, 2005 19:09

Hmm, makes sense. But there could be a global event that is fired when a time pulse is injected. This would not be such a performance loss, would it? :?

But for my problem, I'm just fine with writing my own timer class. :D
By the way: Do you know anything about the 0.2.1 releae? I created a topic in General Discussion, but nobody is anwering... :cry:

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Re: Getting Timepulses...

Postby lindquist » Mon May 23, 2005 21:45

Implementing this global timepulse event should be fairly straight-forward...

As to the the 2.1 release, I must say that I only what mental has posted.

everything but osx compilation should be done.
I've seen that there is a osx tiger makefile path on the tracker. But I don't know the exact issues that are holding the release back...

no date... sorry!


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 13 guests