al_get_display_flags
int al_get_display_flags(ALLEGRO_DISPLAY *display)
Introduced in 5.0.0
Gets the flags of the display.
In addition to the flags set for the display at creation time with al_set_new_display_flags it can also have the ALLEGRO_MINIMIZED flag set, indicating that the window is currently minimized. This flag is very platform-dependent as even a minimized application may still render a preview version so normally you should not care whether it is minimized or not.
See also: al_set_new_display_flags
Examples: ex_display_options, ex_fs_window
Most helpful discussions:
- A5 Fullscreen Vs Windowed
- (5.2.3) Switching out of Fullscreen doesn't work on one of my computers.
- event loop best practice
- switch FULLSCREEN on and off
- [Allegro5] Popup menu fails to display
- Frameless window
- How to draw to bitmap, then blit to screen later, OGL
- ALLEGRO_DIRECT3D not defined in this scope
- D3D Font Issue is sometime back with fullscreen toggle
- Maximizing the display in code?
Other recent discussions: