[SDL] Register user event functions ?
Trick
gerry at c64.org
Wed Oct 3 12:11:03 PDT 2001
Hi. I'm still working on that library =)
My lib needs to define a user event, for passing to the program using
it. The problem is: How can i avoid crashing with other user-defined
events ? Right now i use SIF_NUMEVENTS = SDL_NUMEVENTS - 1 and
SIF_EVENT = SIF_NUMEVENTS, so that users can use SIF_NUMEVENTS in
stead of SDL_NUMEVENTS. That works, but it would be better if SDL had
a "register user event" function that returned the next available
event.. Is something like that planned for the future (or will be =) ?
--
Trick
__________________________________________
Linux User #229006 * http://counter.li.org
More information about the SDL
mailing list