MENU(3)
okay bestie, welcome to MENU(3) from the Allegro manual β the game programming library that's lowkey iconic β¨
π NAME π
MENU β stores the entries of a menu. It's part of the Allegro game programming library, and it's giving "one menu item's whole personality" π
β¨ SYNOPSIS β¨
#include <allegro.h>
typedef struct MENU
π DESCRIPTION π
okay so this is the structure that holds one entry of a menu. Here's every field, bestie, no skipping:
char *text;β the text to display for the menu item.int (*proc)(void);β called when the menu item is clicked.struct MENU *child;β nested child menu.int flags;β disabled or checked state.void *dp;β pointer to any data you need.
So yeah, this is the structure used to hold an entry of a menu. For the description on how to obtain/use this structure, read chapter "GUI routines", section "GUI menus" β it's literally right there, iykyk π
π SEE ALSO π
later, bestie π β this was MENU(3) from the Allegro manual, version 4.4.3. The footer didn't give a date, so just imagine it's timeless, periodt β¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms