al_set_display_icons(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸŽ€ NAME πŸŽ€

al_set_display_icons β€” Allegro 5 API

Okay bestie, this is al_set_display_icons(3) from the Library Functions Manual, and it’s literally the β€œgive your window a cute icon situation” function. Manual name folded in near the top like a lil name tag. πŸ’–

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

void al_set_display_icons(ALLEGRO_DISPLAY *display,
   int num_icons, ALLEGRO_BITMAP *icons[])

πŸ’… DESCRIPTION πŸ’…

Changes the icons associated with the display β€” yep, the window. You can hand over multiple icons so they can be used in different contexts, like the window frame, taskbar, and alt-tab popup. The number of icons must be at least one. No zero-icon nonsense, bestie. 🫢

⚠️ Note: If the underlying OS requires an icon of a size not provided, then one of the bitmaps will be scaled up or down to the required size. The choice of bitmap is implementation dependent. So the OS might resize one of your baddies, and which one it picks is up to the implementation. πŸ‘€

πŸ¦‹ SINCE πŸ¦‹

5.0.9, 5.1.5 β€” this one has been around since those versions, periodt. ✨

🌈 SEE ALSO 🌈

Go check those out too, they’re in the same icon/window-title friend group. πŸ’…


Source/version: Allegro reference manual; page: al_set_display_icons(3) β€” date: not printed on the original footer, so no fake timestamp from me, bestie. πŸ’‹

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms