al_get_display_flags(3alleg5)
β¨ al_get_display_flags β¨
okay bestie, we're in the Allegro 5 API reference manual and today's main character is al_get_display_flags π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
int al_get_display_flags(ALLEGRO_DISPLAY *display)
π DESCRIPTION π
So basically this one hands you back the flags of a display. That's it, that's the job π«Ά
And the tea is: it's not just the flags you set when you made the display with al_set_new_display_flags(3alleg5) β it can also have the ALLEGRO_MINIMIZED flag set, which is literally just saying "hey, this window is minimized right now" π΄
But ngl, that ALLEGRO_MINIMIZED flag is very platform-dependent. Like, even a minimized app might still be out here rendering a preview version of itself, so it's giving "who even knows" energy. Which means: normally you should not care whether it is minimized or not. Let it live, fr fr π
π SEE ALSO π
that's the whole page babes, no crumbs left π this was the Allegro reference manual, al_get_display_flags(3alleg5) edition β go forth and vibe check your display flags, mwah ππ§
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms