al_get_new_display_option(3alleg5)
β¨ 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
- 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