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:
- [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.
- Getting device resolution on Android
- Allegro 5.1.9 (GIT) -- al_set_new_window_position
- Seriously severe input delay on AL5.0.10
Other recent discussions:
- PixelBots Combat Prototype 1
- What's wront with this (or me)
- [A5] Display always on top?
- [a5] al_get_monitor_info giving back crazy sizes
- Fullscreen window creation
- Patch for _al_d3d_get_display_mode
- A5 Daul screen
- Installing Allegro 5 with Code::Blocks and MinGW problems
- Desktop dimensions in A5?
- Can't load TTF addon in separate class file