1al_store_state(3)          Library Functions Manual          al_store_state(3)
2
3
4

NAME

6       al_store_state
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_store_state(ALLEGRO_STATE *state, int flags)
12

DESCRIPTION

14       Stores  part  of  the  state  of  the current thread in the given ALLE‐
15       GRO_STATE(3) objects.  The flags parameter can take any bit-combination
16       of these flags:
17
18       · ALLEGRO_STATE_NEW_DISPLAY_PARAMETERS  -  new_display_format, new_dis‐
19         play_refresh_rate, new_display_flags
20
21       · ALLEGRO_STATE_NEW_BITMAP_PARAMETERS  -  new_bitmap_format,   new_bit‐
22         map_flags
23
24       · ALLEGRO_STATE_DISPLAY - current_display
25
26       · ALLEGRO_STATE_TARGET_BITMAP - target_bitmap
27
28       · ALLEGRO_STATE_BLENDER - blender
29
30       · ALLEGRO_STATE_TRANSFORM - current_transformation
31
32       · ALLEGRO_STATE_NEW_FILE_INTERFACE - new_file_interface
33
34       · ALLEGRO_STATE_BITMAP  -  same  as ALLEGRO_STATE_NEW_BITMAP_PARAMETERS
35         and ALLEGRO_STATE_TARGET_BITMAP
36
37       · ALLEGRO_STATE_ALL - all of the above
38

SEE ALSO

40       al_restore_state(3), ALLEGRO_STATE(3)
41
42
43
44Allegro reference manual                                     al_store_state(3)
Impressum