al_get_display_event_source
ALLEGRO_EVENT_SOURCE *al_get_display_event_source(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
Retrieve the associated event source.
Examples: ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blit, ex_clip, ex_disable_screensaver, ex_display_options, ex_draw, ex_draw_bitmap, 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_keyboard_events, ex_logo, ex_mixer_pp, ex_mouse_cursor, ex_mouse_events, ex_multisample, ex_multiwin, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_opengl, ex_premulalpha, ex_prim, ex_resize, ex_resize2, ex_stream_seek, ex_subbitmap, ex_threads, ex_threads2, ex_timer, ex_transform, ex_ttf, ex_vsync, ex_warp_mouse, ex_windows
Most helpful discussions:
- Cannot exit fullscreen with ALLEGRO_OPENGL flag
- Redrawing smoothly while display is being resized
- Allegro 5.2.2 Setup
- Weird issue with font, can anybody help?
- Blacking out the display while resizing
- KrampusHack 2016
- Drawing text slows down FPS dramatically
- Statically link Allegro 5 in Ubuntu?
- Vsync-Dependent Game Loop
- c++ Allegro 5 - drawing bitmap region over backgound
Other recent discussions: