SYNOPSIS

  • #include <allegro5/allegro.h>
    
    typedef struct ALLEGRO_MONITOR_INFO
    
    

DESCRIPTION

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;
    
    

RELATED TO ALLEGRO_MONITOR_INFO…

al_get_monitor_info(3alleg5)