From 93e2d267acbd7dd123d89d214a868f957a0a8bd0 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Mon, 20 Oct 2025 15:10:21 -0400 Subject: cursor and box shader --- state.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'state.h') diff --git a/state.h b/state.h index baec931..60e84c4 100644 --- a/state.h +++ b/state.h @@ -83,9 +83,14 @@ typedef struct { // graphics GLuint text_shader; - GLuint screen_size_uniform; - GLuint offset_uniform; - GLuint color_uniform; + GLuint t_screen_size_uniform; + GLuint t_offset_uniform; + GLuint t_color_uniform; + GLuint box_shader; + GLuint b_screen_size_uniform; + GLuint b_start_uniform; + GLuint b_size_uniform; + GLuint b_color_uniform; text_buffer_t input_buffer_grafix; // fonts @@ -105,12 +110,12 @@ typedef struct { bool verbose; // state - char* input_buffer; - float scroll; - int selected_filtered_item; uint32_t width, height; + char* input_buffer; item_t* items; item_display_t* filtered_items; + int selected_filtered_item; + float scroll; bool running; int exit_code; -- cgit v1.2.3