|
NAMEALLEGRO_USER_EVENT - Allegro 5 APISYNOPSIS
DESCRIPTIONAn event structure that can be emitted by user event sources. These are the public fields:
Like all other event types this structure is a part of the ALLEGRO_EVENT union. To access the fields in an ALLEGRO_EVENT variable ev, you would use:
To create a new user event you would do this:
Event type identifiers for user events are assigned by the user. Please see the documentation for ALLEGRO_GET_EVENT_TYPE(3) for the rules you should follow when assigning identifiers. SEE ALSOal_emit_user_event(3), ALLEGRO_GET_EVENT_TYPE(3), al_init_user_event_source(3)
Visit the GSP FreeBSD Man Page Interface. |