al_get_display_flags(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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