adime_draw_text_button(3)
β¨ 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
- fedora 43: adime-devel 2.2.1-42.fc43 Β· zlib
- fedora 43: adime-devel 2.2.1-42.fc43 Β· zlib
- fedora 44: adime-devel 2.2.1-44.fc44 Β· zlib
- fedora 44: adime-devel 2.2.1-44.fc44 Β· zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms