summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-04 22:15:32 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-04 22:15:32 -0500
commit1e7e392b9d5e593aeb9680d82b76afddad8ce2e6 (patch)
treeb1c1eaf950fdbba51b97b0f361824db0987203b9 /text.h
parenta04565b7796fdfcff0b652644a0983145abbba87 (diff)
tried switching to new api for text, not working yet
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/text.h b/text.h
index b0629b9..f57fef9 100644
--- a/text.h
+++ b/text.h
@@ -18,6 +18,8 @@ typedef struct {
float x, y;
// points at which the text should be cut off
float min_x, max_x, min_y, max_y;
+ // color
+ float r, g, b, a;
} TextRenderState;
typedef enum {