From 9d8db4146d025e3a967700414a9fc68fa186045e Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Thu, 23 Oct 2025 00:07:26 -0400 Subject: add basic cursor movement --- font.h | 1 + 1 file changed, 1 insertion(+) (limited to 'font.h') diff --git a/font.h b/font.h index fe77e17..dee3129 100644 --- a/font.h +++ b/font.h @@ -8,5 +8,6 @@ void atlas_init(client_state* state); void atlas_create_texture(client_state* state); int atlas_get_strwidth(client_state* state, const char* str); +int atlas_get_strwidth_len(client_state* state, const char* str, size_t len); void atlas_calc_item_widths(client_state* state); #endif // FONT_H_ -- cgit v1.2.3