aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-17 18:21:51 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-17 18:21:51 -0400
commitec8c94dc43db11c79ef58b212cacfadec09bb59c (patch)
treedac513e9acb40b2d6f606031bb4d9299e2e8c423 /state.h
parent7abba4bd6aea943870bfd571866e36a6167c80a2 (diff)
lines argument
Diffstat (limited to 'state.h')
-rw-r--r--state.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/state.h b/state.h
index e3640fd..242970e 100644
--- a/state.h
+++ b/state.h
@@ -41,6 +41,7 @@ typedef struct {
typedef struct {
char* text;
size_t pixel_len;
+ text_buffer_t text_buffer;
} item_t;
typedef struct {
@@ -84,7 +85,10 @@ typedef struct {
FT_Face ft_face;
FT_Int32 load_flags;
atlas_t atlas;
- float line_height;
+ uint32_t line_height;
+
+ // arguments
+ int lines;
// state
char* input_buffer;