include/SDL_events.h
changeset 7125 082c0c53ac16
parent 7082 e9d6004d2978
child 7188 20bd120bf7e4
equal deleted inserted replaced
7124:45e40ae31722 7125:082c0c53ac16
   597 
   597 
   598 /**
   598 /**
   599  *  Sets up a filter to process all events before they change internal state and
   599  *  Sets up a filter to process all events before they change internal state and
   600  *  are posted to the internal event queue.
   600  *  are posted to the internal event queue.
   601  *  
   601  *  
   602  *  The filter is protypted as:
   602  *  The filter is prototyped as:
   603  *  \code
   603  *  \code
   604  *      int SDL_EventFilter(void *userdata, SDL_Event * event);
   604  *      int SDL_EventFilter(void *userdata, SDL_Event * event);
   605  *  \endcode
   605  *  \endcode
   606  *
   606  *
   607  *  If the filter returns 1, then the event will be added to the internal queue.
   607  *  If the filter returns 1, then the event will be added to the internal queue.