overlapped key output: highlight letters swiped through

This commit is contained in:
Zach DeCook
2021-12-03 11:57:19 -05:00
committed by John Sullivan
parent 2de12a90e4
commit 564eb4536a
5 changed files with 68 additions and 14 deletions

4
drw.h
View File

@ -31,8 +31,12 @@ typedef union {
uint32_t color;
} Color;
void drw_do_rectangle(struct drwsurf *d, Color color, uint32_t x, uint32_t y,
uint32_t w, uint32_t h, bool fill);
void drw_fill_rectangle(struct drwsurf *d, Color color, uint32_t x, uint32_t y,
uint32_t w, uint32_t h);
void drw_over_rectangle(struct drwsurf *d, Color color, uint32_t x, uint32_t y,
uint32_t w, uint32_t h);
void drw_draw_text(struct drwsurf *d, Color color, uint32_t x, uint32_t y,
uint32_t w, uint32_t h, const char *label);