From 77c11183c22d640939cd8a6a7588329a5879c64c Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sun, 26 Oct 2025 20:59:05 -0400 Subject: refactor to layout --- state.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'state.h') diff --git a/state.h b/state.h index be55a11..6811c41 100644 --- a/state.h +++ b/state.h @@ -21,7 +21,7 @@ typedef struct { float x, y, dx, dy; -} Rect; +} rect_t; typedef struct { GLuint vbo, ebo, vao; @@ -52,7 +52,7 @@ typedef struct { typedef struct { item_t* item; - float offset; + rect_t r; } item_display_t; typedef struct { @@ -129,7 +129,7 @@ typedef struct { int selected_filtered_item; char* input_buffer; size_t cursor_index; - float scroll; + float fancy_scroll; } client_state; -- cgit v1.2.3