ALLEGRO_MONITOR_INFO

typedef struct ALLEGRO_MONITOR_INFO
Introduced in 5.0.0

Describes a monitors size and position relative to other monitors. x1, y1 will be 0, 0 on the primary display. Other monitors can have negative values if they are to the left or above the primary display.

typedef struct ALLEGRO_MONITOR_INFO
{
   int x1;
   int y1;
   int x2;
   int y2;
} ALLEGRO_MONITOR_INFO;

See also: al_get_monitor_info

Examples: ex_draw_bitmap, ex_monitorinfo, ex_windows


Most helpful discussions:

Other recent discussions: