adime_draw_text_button(3)

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

✨ adime_draw_text_button ✨

okay so bestie, welcome to adime_draw_text_button from the Adime API Reference β€” she's a lil function from Adime and she's here to make your buttons cute πŸ’–


🌸 NAME 🌸

adime_draw_text_button β€” the icon herself, the one that draws a button with text on it πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <adime.h>

void adime_draw_text_button(BITMAP *bmp, int x1, int y1, int x2, int y2,
       int face_color, int text_color, int xlight, int light, int dark, int
       xdark, const FONT *f, const char *text)

like, that's the whole squad of parameters right there πŸ’…


πŸ’œ DESCRIPTION πŸ’œ

She draws a button with a text on it ✨ and she does it at the given position of the bitmap, using the given colors and font. that's it, that's the vibe. no cap.

so you hand her the bitmap, you hand her the corner coords, you hand her the colors (all five of them, bestie β€” she's high maintenance and we love that for her), you hand her the font, you hand her the text, and she slays 🫢


πŸŽ€ SEE ALSO πŸŽ€

her besties, her sisters, her whole friend group:

go read those too, iykyk 🌈


lowkey a whole button-drawing cinematic universe fr fr πŸ’€

and that's the page, bestie πŸ¦‹ this was adime_draw_text_button(3), coming to you from the Adime API Reference, part of Adime β€” version 2.2.1 ✨ mwah, periodt πŸ’…πŸ‘‘

πŸ“¦ where this page comes from