.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "ALLEGRO_DISPLAY_MODE" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP ALLEGRO_DISPLAY_MODE - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include typedef struct ALLEGRO_DISPLAY_MODE \f[R] .fi .SH DESCRIPTION .PP Used for fullscreen mode queries. Contains information about a supported fullscreen modes. .IP .nf \f[C] typedef struct ALLEGRO_DISPLAY_MODE { int width; // Screen width int height; // Screen height int format; // The pixel format of the mode int refresh_rate; // The refresh rate of the mode } ALLEGRO_DISPLAY_MODE; \f[R] .fi .PP The \f[V]refresh_rate\f[R] may be zero if unknown. .PP For an explanation of what \f[V]format\f[R] means, see ALLEGRO_PIXEL_FORMAT(3alleg5). .SH SEE ALSO .PP al_get_display_mode(3alleg5)