aboutsummaryrefslogtreecommitdiff
path: root/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'font.h')
-rw-r--r--font.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/font.h b/font.h
index ee51443..762fe53 100644
--- a/font.h
+++ b/font.h
@@ -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_