desktop_palette(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– desktop_palette β€” the manual, but make it cute πŸ’–

okay bestie, welcome to the desktop_palette(3) page from the Allegro manual ✨ (yes we're in section 3, library girlies rise 🫢)


🌸 NAME 🌸

desktop_palette β€” the palette the Atari ST low resolution desktop used, and like, it lives in the Allegro game programming library now. iconic behaviour tbh πŸ’…


✨ SYNOPSIS ✨

#include <allegro.h>

extern PALETTE desktop_palette;

πŸ¦‹ DESCRIPTION πŸ¦‹

So. This is the palette used by the Atari ST low resolution desktop. And ngl, nobody is super sure why it's still here β€” except that the grabber and the test programs literally use it 😭. It's probably the only Atari legacy code left in Allegro, and honestly? Removing it would be a shame :-) so she stays. main character energy fr fr πŸ‘‘

The tea on this palette: its contents are 16 colors repeated 16 times. So color entry zero is equal to color entry 16, which is equal to color entry 24, etc. yes bestie, it's the same 16 vibes on loop, no cap 🌈

Here's the whole lineup, index by index, exactly as it is:

  • 0 β€” White β€” RGB 63 63 63
  • 1 β€” Red β€” RGB 63 0 0
  • 2 β€” Green β€” RGB 0 63 0
  • 3 β€” Yellow β€” RGB 63 63 0
  • 4 β€” Blue β€” RGB 0 0 63
  • 5 β€” Pink β€” RGB 63 0 63
  • 6 β€” Cyan β€” RGB 0 63 63
  • 7 β€” Grey β€” RGB 16 16 16
  • 8 β€” Light grey β€” RGB 31 31 31
  • 9 β€” Light red β€” RGB 63 31 31
  • 10 β€” Light green β€” RGB 31 63 31
  • 11 β€” Light yellow β€” RGB 63 63 31
  • 12 β€” Light blue β€” RGB 31 31 63
  • 13 β€” Light pink β€” RGB 63 31 63
  • 14 β€” Light cyan β€” RGB 31 63 63
  • 15 β€” Black β€” RGB 0 0 0

look at that palette. she's giving retro. she's giving 1985. she ate πŸ’…πŸ“


πŸ‘‘ SEE ALSO πŸ‘‘

default_palette(3), black_palette(3) β€” go read those too, bestie, they're the other palette girlies πŸ’œ


and that's the page!! this one's from Allegro, version 4.4.3, dated like the classic it is πŸŽ€ mwah, go forth and palette, ily, bye 🧚✨

πŸ“¦ where this page comes from