aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-10-20 15:10:21 -0400
committerJack Jamison <jackqjamison@gmail.com>2025-10-20 15:10:21 -0400
commit93e2d267acbd7dd123d89d214a868f957a0a8bd0 (patch)
tree65cdffcdf0d42120275e920293148b568f07b496 /state.h
parent1bfc17ba8ce16ef8bfc505f2d9747adb55222ae6 (diff)
cursor and box shader
Diffstat (limited to 'state.h')
-rw-r--r--state.h17
1 files changed, 11 insertions, 6 deletions
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;