d_check_proc(3alleg4)
d_check_proc 🎀✨
okay so bestie, welcome to the Allegro manual page for d_check_proc — yes, the manual name is Allegro, and this function is giving “dialog procedure implementing a check box object” for the Allegro game programming library. No cap. 💖
✨ NAME ✨
d_check_proc — dialog procedure implementing a check box object. Allegro game programming library.
✨ SYNOPSIS ✨
#include <allegro.h>
int d_check_proc(int msg, DIALOG *d, int c);
✨ DESCRIPTION ✨
This is, like, the blueprint for deriving objects from other objects — main character energy fr fr. Most of the actual functionality comes straight from d_button_proc(), but this one shows up dressed as a check box. 💅
If the d1 field is non-zero, the text gets printed to the right of the check. Otherwise? It goes on the left. Periodt.
Note: the object width should allow space for the text as well as the check box — and that check box is square, with sides equal to the object height. Don’t skimp on the width, bestie, or it’s gonna look a mess. 😭
✨ SEE ALSO ✨
footer vibes: this page is from Allegro, version 4.4.3, and it’s signed d_check_proc(3alleg4). That’s the source/version situation at the very end — and the footer isn’t giving a separate date, so I’m not manifesting one. Mwah 💋🫶
📦 where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 · Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 · Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 · Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 · Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 · Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 · Allegro-gift-ware
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms