• Sam Lantinga's avatar
    General improvements for user custom event registration · 1fb2a694
    Sam Lantinga authored
    * Switched event type to enum (int32)
    * Switched polling by mask to polling by type range
    * Added SDL_RegisterEvents() to allow dynamic user event registration
    * Spread events out to allow inserting new related events without breaking binary compatibility
    * Added padding to event structures so they're the same size regardless of 32-bit compiler structure packing settings
    * Split SDL_HasEvent() to SDL_HasEvent() for a single event and SDL_HasEvents() for a range of events
    * Added SDL_GetEventState() as a shortcut for SDL_EventState(X, SDL_QUERY)
    * Added SDL_FlushEvent() and SDL_FlushEvents() to clear events from the event queue
    1fb2a694
Name
Last commit
Last update
..
SDL_x11dyn.c Loading commit data...
SDL_x11dyn.h Loading commit data...
SDL_x11events.c Loading commit data...
SDL_x11events.h Loading commit data...
SDL_x11gamma.c Loading commit data...
SDL_x11gamma.h Loading commit data...
SDL_x11keyboard.c Loading commit data...
SDL_x11keyboard.h Loading commit data...
SDL_x11modes.c Loading commit data...
SDL_x11modes.h Loading commit data...
SDL_x11mouse.c Loading commit data...
SDL_x11mouse.h Loading commit data...
SDL_x11opengl.c Loading commit data...
SDL_x11opengl.h Loading commit data...
SDL_x11opengles.c Loading commit data...
SDL_x11opengles.h Loading commit data...
SDL_x11render.c Loading commit data...
SDL_x11render.h Loading commit data...
SDL_x11sym.h Loading commit data...
SDL_x11video.c Loading commit data...
SDL_x11video.h Loading commit data...
SDL_x11window.c Loading commit data...
SDL_x11window.h Loading commit data...
imKStoUCS.c Loading commit data...
imKStoUCS.h Loading commit data...