al_get_monitor_info
bool al_get_monitor_info(int adapter, ALLEGRO_MONITOR_INFO *info)
Introduced in 5.0.0
Get information about a monitor's position on the desktop. adapter is a number from 0 to al_get_num_video_adapters()-1.
Returns true on success, false on failure.
See also: ALLEGRO_MONITOR_INFO, al_get_num_video_adapters
Examples: ex_draw_bitmap, ex_monitorinfo, ex_windows
Most helpful discussions:
- [A5] al_get_desktop_resolution / available resolutions (2)
- [A5] Show & Hide window/display Cross-Platform ?
- Change adapter un runtime
- Allegro 5.1.13 released!
- [a5] Multisampling not working in Direct3D
- display screen manipulation
- Choppy graphics
- Game starts minimised and hard to get on screen.
- Getting device resolution on Android
- Allegro 5.1.9 (GIT) -- al_set_new_window_position
Other recent discussions:
- Seriously severe input delay on AL5.0.10
- 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
- Aspect ratio support
- Patch for _al_d3d_get_display_mode
- [A5] Dual monitors issue
- A5 Daul screen