1ALLEGRO_DISPLAY_MODE(3)                                ALLEGRO_DISPLAY_MODE(3)
2
3
4

NAME

6       ALLEGRO_DISPLAY_MODE - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              typedef struct ALLEGRO_DISPLAY_MODE
12

DESCRIPTION

14       Used  for  fullscreen  mode queries.  Contains information about a sup‐
15       ported fullscreen modes.
16
17              typedef struct ALLEGRO_DISPLAY_MODE {
18                 int width;          // Screen width
19                 int height;         // Screen height
20                 int format;         // The pixel format of the mode
21                 int refresh_rate;   // The refresh rate of the mode
22              } ALLEGRO_DISPLAY_MODE;
23
24       The refresh_rate may be zero if unknown.
25
26       For an explanation of what format means, see ALLEGRO_PIXEL_FORMAT(3).
27

SEE ALSO

29       al_get_display_mode(3)
30
31
32
33Allegro reference manual                               ALLEGRO_DISPLAY_MODE(3)
Impressum