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:
- [KrampusHack 2020] DragonWrath
- Eagle0pt8 and Allegro 526x binary release
- In full screen mode, the display stretches to full screen
- got a bug in my FULLSCREEN WINDOWED MODE switchout
- Calling al_get_monitor_info() before al_create_display() allowed
- How to set Display properties?
- how to make a game menu
- How to detect the currrent system resolution?
- Drawing Issue
- al_draw_scaled_bitmpa not working if called more than 1 time
Other recent discussions:
- video & physfs problems in the same file
- bug about multiple displays and first one is not connected to desktop
- Allegro 5.2.x and Raspberry Pi - failed to create display
- [A5] Show & Hide window/display Cross-Platform ?
- [a5] Multisampling not working in Direct3D
- ALLEGRO_RESIZABLE & Mouse Pointer Collision Detection
- display screen manipulation
- Choppy graphics
- Tic
- Game starts minimised and hard to get on screen.