al_get_timer_event_source
ALLEGRO_EVENT_SOURCE *al_get_timer_event_source(ALLEGRO_TIMER *timer)
Introduced in 5.0.0
Retrieve the associated event source.
Examples: ex_bitmap, ex_bitmap_flip, ex_blend, ex_blit, ex_clip, ex_display_options, ex_draw, ex_draw_bitmap, ex_expose, ex_filter, ex_gldepth, ex_glext, ex_haiku, ex_icon, ex_iphone, ex_logo, ex_multisample, ex_native_filechooser, ex_noframe, ex_ogre3d, ex_premulalpha, ex_prim, ex_resize, ex_stream_seek, ex_threads, ex_threads2, ex_timer, ex_transform, ex_ttf, ex_user_events
Most helpful discussions:
- Using Sine And Cosine For Rotation
- Shooting Ball From Rotating Bitmap
- Problem with al_creat_bitmap
- A5 : timer issue
- Using very short allegro timers in separate thread and getting lots of cpu usage
- Mouse Click Inside Timer Function
- A5 Fullscreen Vs Windowed
- Convert *bitmap to char buffer
- al_load_bitmap question
- MOUSE question
Other recent discussions:
- 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
- Key-presses speed-up program
- Math question (2d trig)
- Program locks on exit (linux only)
- Multiple threads/displays, Event handling question
- Is there a way to wait before drawing a bitmap in Allegro5?