From 25f0c213ed8d9d0912c0de8c2506d0820939aafd Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sun, 19 Oct 2025 17:02:36 -0400 Subject: scrolling --- state.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'state.h') diff --git a/state.h b/state.h index 1eb9e22..baec931 100644 --- a/state.h +++ b/state.h @@ -48,6 +48,7 @@ typedef struct { typedef struct { item_t* item; + float offset; } item_display_t; typedef struct { @@ -95,6 +96,7 @@ typedef struct { uint32_t line_height; uint32_t required_width; + float horizontal_spacing; // arguments int lines; @@ -104,6 +106,7 @@ typedef struct { // state char* input_buffer; + float scroll; int selected_filtered_item; uint32_t width, height; item_t* items; -- cgit v1.2.3