/programs/games/2048/rect.h |
---|
24,9 → 24,9 |
__u8 rect_transform(rect* from, rect* to, __u16 step); |
// Draw text at the rect center |
void rect_draw_text(rect* r, char* txt, __u32 len, __u32 color); |
void rect_draw_text(rect* r, char* txt, __u32 len, __u32 color, __u32 frame_color); |
// Draw value as text at the rect center |
void rect_draw_value(rect* r, __u32 v, __u32 color); |
void rect_draw_value(rect* r, __u32 v, __u32 color, __u32 frame_color); |
#endif // RECT_H |