1ALLEGRO_VIDEO_EVENT_TYPE(3) ALLEGRO_VIDEO_EVENT_TYPE(3)
2
3
4
6 ALLEGRO_VIDEO_EVENT_TYPE - Allegro 5 API
7
9 #include <allegro5/allegro_video.h>
10
11 enum ALLEGRO_VIDEO_EVENT_TYPE
12
14 · ALLEGRO_EVENT_VIDEO_FRAME_SHOW - This event is sent when it is time
15 to show a new frame. Once you receive this event, you can draw the
16 current frame (as returned by al_get_video_frame(3)).
17 al_get_video_frame(3) will continue returning the same frame until
18 the next ALLEGRO_EVENT_VIDEO_FRAME_SHOW is sent.
19
20 · ALLEGRO_EVENT_VIDEO_FINISHED - This event is sent when the video is
21 finished. Depending on the backend, it may be possible to seek to an
22 earlier part of the video and set the video to play to resume play‐
23 back.
24
26 5.1.0
27
28
29
30Allegro reference manual ALLEGRO_VIDEO_EVENT_TYPE(3)