allegro_icon(3alleg4)
π allegro_icon π
bestie, welcome to the Allegro manual, section 3alleg4 β this page is short but it's lowkey carrying the whole X11 icon situation π
β¨ NAME β¨
allegro_iconβ pointer to the Allegro X11 icon. π
π SYNOPSIS π
#include <allegro.h>
extern void *allegro_icon;
π¦ DESCRIPTION π¦
Okay so allegro_icon is a pointer to the Allegro X11 icon, and it's in the format of standard .xpm bitmap data. π
And fr fr, you do not normally have to bother with this at all. The iconic shortcut is the xfixicon.sh utility from the tools/x11 directory: use it to convert a true colour bitmap to a C file, and then you only need to link that C file with your own code to set the icon. Periodt. β¨
That's the whole page, bestie. No extra lore, just pointer +.xpm+xfixicon.shrealness. π
byeee, this was allegro_icon from the Allegro manual, version 4.4.3, section 3alleg4 β no date in the footer, just pure icon energy π
π¦ 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