about summary refs log tree commit diff
path: root/drw.h
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-12-03 11:57:19 -0500
committerJohn Sullivan <jsullivan@csumb.edu>2022-01-10 03:08:06 +0000
commit8120fd052120423cc4e84d7e893bef125fb06a6b (patch)
tree06baa3f1e015df4175133253f5044a4a0b504e1b /drw.h
parent7ec530ef4612dc5b9df5e4faf57708df9e4fad8f (diff)
downloadsuggpicker-8120fd052120423cc4e84d7e893bef125fb06a6b.tar.gz
overlapped key output: highlight letters swiped through
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drw.h b/drw.h
index 69c0aa9..fb3df1c 100644
--- a/drw.h
+++ b/drw.h
@@ -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);