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

NAME

6       al_toggle_display_flag
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_toggle_display_flag(ALLEGRO_DISPLAY *display, int flag, bool onoff)
12

DESCRIPTION

14       Enable  or disable one of the display flags.  The flags are the same as
15       for al_set_new_display_flags(3).  The only flags that  can  be  changed
16       after creation are:
17
18       · ALLEGRO_FULLSCREEN_WINDOW
19
20       · ALLEGRO_NOFRAME
21
22       Returns  true  if  the driver supports toggling the specified flag else
23       false.  You can use al_get_display_flags(3) to query whether the  given
24       display property actually changed.
25

SEE ALSO

27       al_set_new_display_flags(3), al_get_display_flags(3)
28
29
30
31Allegro reference manual                             al_toggle_display_flag(3)
Impressum