adime_draw_empty_button(3)

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

πŸ’– adime_draw_empty_button(3) πŸ’–

okay bestie, so this is a page from the Adime API Reference β€” literally the manual for adime_draw_empty_button, and I'm gonna walk you through it like we're texting at 2am 🫢


✨ NAME ✨

adime_draw_empty_button β€” that's the whole name, that's the vibe, she's a function πŸ’…


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the header, no cap:

#include <adime.h>

and then here's the queen herself, signature and all, copy it exactly bestie:

void adime_draw_empty_button(BITMAP *bmp, int x1, int y1, int x2, int y2, int face_color, int xlight, int light, int dark, int xdark)

ten arguments, yeah, she's high maintenance but she's worth it πŸ”₯


πŸŽ€ DESCRIPTION πŸŽ€

so what does she do? she draws an empty button on the given position of the bitmap, using the colors you hand her. that's it. that's the whole job. no text, no picture, just a lil empty button sitting pretty at the coords you picked ✨

the position is whatever you pass in through x1, y1, x2, y2, and the colors come from face_color, xlight, light, dark, and xdark β€” you're the one choosing the palette, so make it cute 🌈

lowkey the whole point is that it's empty β€” if you wanted words on it you're in the wrong function, bestie 😭

πŸ‘‘ SEE ALSO πŸ‘‘

if an empty button isn't giving enough for you, go check her sisters:


and that's the page!! written by the lovely folks behind Adime, version 2.2.1 β€” mwah, ty for your service, we're obsessed πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from