alert3(3alleg4)

πŸ’– alert3 β€” like alert() but make it a throuple πŸ’–

okay bestie, quick vibe check: this is a page from the Allegro manual, and it's about alert3, which lives in the Allegro game programming library. she's a little popup dialog with THREE buttons instead of the usual one or two, and honestly? iconic. πŸ‘‘


✨ NAME ✨

alert3 β€” literally just like alert(), but with three buttons. Allegro game programming library, no cap. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

int alert3(const char *s1, *s2, *s3, const char *b1, *b2, *b3, int c1,
c2, c3);

yes the line break is real, she's just like that, we love her πŸ’…


🌸 DESCRIPTION 🌸

so. it's alert(). but with three buttons. that's the whole thing, and that's the whole serve.

it returns 1, 2, or 3 β€” one number per button, so whichever one your user smashes, you'll know exactly which one it was. periodt. 🫢

not me making a whole manpage out of "three buttons" but here we are, and I ate πŸ’€

πŸ’œ SEE ALSO πŸ’œ


and that's the page, bestie!! ✨ this whole thing came from the Allegro crew, version 4.4.3, and it's dated right there with the source in the footer β€” love that for them, mwah πŸ’– πŸ¦‹ 🌸