1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
.TH "al_set_display_option" "3" "" "Allegro reference manual" ""
.SH NAME
.PP
al_set_display_option \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
void\ al_set_display_option(ALLEGRO_DISPLAY\ *display,\ int\ option,\ int\ value)
\f[]
.fi
.SH DESCRIPTION
.PP
Change an option that was previously set for a display.
After displays are created, they take on the options set with
al_set_new_display_option(3).
Calling al_set_new_display_option(3) subsequently only changes options
for newly created displays, and doesn\[aq]t touch the options of already
created displays.
al_set_display_option(3) allows changing some of these values.
Not all display options can be changed or changing them will have no
effect.
Changing options other than those listed below is undefined.
.IP \[bu] 2
ALLEGRO_SUPPORTED_ORIENTATIONS \- This can be changed to allow new or
restrict previously enabled orientations of the screen/device.
See al_set_new_display_option(3) for more information on this option.
.SH SINCE
.PP
5.1.5
.SH SEE ALSO
.PP
al_set_new_display_option(3)
|