diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-12 19:19:03 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-12 19:19:03 -0400 |
| commit | 458f9d0b5f1b83d3f2e11cead790cdf6ac867e11 (patch) | |
| tree | ae3dd115a00695eec838d62a4181b2753dbb89b0 /font.h | |
| parent | d71f3c26c26c22ac6782944f5732274abe64f8f8 (diff) | |
get width of string
Diffstat (limited to 'font.h')
| -rw-r--r-- | font.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4,7 +4,10 @@ char* get_font(const char* font_name); -bool init_freetype(client_state* state, const char* font); -bool init_atlas(client_state* state); +bool freetype_init(client_state* state, const char* font); +void atlas_init(client_state* state); +void atlas_create_texture(client_state* state); + +int atlas_get_strwidth(client_state* state, const char* str); #endif // FONT_H_ |
