1al_set_display_flag(3)                                  al_set_display_flag(3)
2
3
4

NAME

6       al_set_display_flag - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_set_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_FRAMELESS
21
22       · ALLEGRO_MAXIMIZED
23
24       Returns  true  if  the driver supports toggling the specified flag else
25       false.  You can use al_get_display_flags(3) to query whether the  given
26       display property actually changed.
27

SINCE

29       5.0.7, 5.1.2
30

SEE ALSO

32       al_set_new_display_flags(3), al_get_display_flags(3)
33
34
35
36Allegro reference manual                                al_set_display_flag(3)
Impressum