ALLEGRO_EVENT_QUEUE
typedef struct ALLEGRO_EVENT_QUEUE ALLEGRO_EVENT_QUEUE;
Introduced in 5.0.0
An event queue holds events that have been generated by event sources that are registered with the queue. Events are stored in the order they are generated. Access is in a strictly FIFO (first-in-first-out) order.
See also: al_create_event_queue, al_destroy_event_queue
Examples: ex_audio_simple, ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blend_test, ex_blit, ex_clip, ex_curl, ex_disable_screensaver, ex_display_options, ex_draw, ex_draw_bitmap, ex_dualies, ex_expose, ex_filter, ex_font, ex_fs_resize, ex_fs_window, ex_gldepth, ex_glext, ex_haiku, ex_icon, ex_iphone, ex_joystick_events, ex_joystick_hotplugging, ex_keyboard_events, ex_lines, ex_lockbitmap, ex_logo, ex_membmp, ex_mixer_pp, ex_mouse_cursor, ex_mouse_events, ex_multisample, ex_multiwin, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_opengl, ex_physfs, ex_premulalpha, ex_prim, ex_resize, ex_resize2, ex_rotate, ex_saw, ex_scale, ex_stream_file, ex_stream_seek, ex_subbitmap, ex_threads, ex_threads2, ex_timedwait, ex_timer, ex_transform, ex_ttf, ex_user_events, ex_vsync, ex_warp_mouse, ex_windows, ex_winfull
Most helpful discussions:
- al_load_bitmap question
- Mouse Lag / Not Keyboard
- MOUSE question
- Odd event.mouse.x & y values
- Mouse Activity Question
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.
- I'm new
- Keycode out of range
Other recent discussions:
- al_map_rgb() only works after al_init() contrary to the documentation
- Key-presses speed-up program
- Math question (2d trig)
- Black stripe with menus on Windows
- Program locks on exit (linux only)
- Keyboard Modifiers flag on Windows?
- Multiple threads/displays, Event handling question
- I am looking for correct detailed instructions how to build Allegro....
- Delay on event queue while on thread
- Difficulty compiling on Windows