al_get_new_display_option(3alleg5)

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

✨ NAME ✨

al_get_new_display_option β€” the Allegro 5 API's lil "hey what did we set again?" function πŸ’–

So like, quick vibe check: this is a page from the Allegro 5 reference manual, and she's here to tell you how to peek at your display settings, bestie.


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

int al_get_new_display_option(int option, int *importance)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: at some point you (or somebody) called al_set_new_display_option(3alleg5) and tucked away an extra display setting. This function is the friend who remembers. 🫢

It retrieves that extra display setting β€” the one that was previously set with al_set_new_display_option(3alleg5).

You pass in an option, you pass in a pointer to importance, and it hands you back the value. No cap, that's the whole gig. πŸ’…

Heads up bestie: the setting it gives you back is whatever was previously set with al_set_new_display_option(3alleg5) β€” so if nobody ever set anything, don't come crying to me about what you get. πŸ™ˆ

That's the whole page, and she ate. πŸ’œ

Signed, sealed, delivered by the Allegro reference manual β€” this is al_get_new_display_option(3alleg5), out here being iconic. Periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from