aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-04-21 18:53:18 +0200
committerAlex Auvolat <alex@adnab.me>2017-04-21 18:53:18 +0200
commit575b140a57e2bb86f05b8d18f01a9f2cea1f5034 (patch)
treebfa9e13cb68d0d9510453cfdd4cd75eece826aa1 /src/lib/include
parented153e6a5b9f001bbe49128e6bc53053f55dd37b (diff)
downloadkogata-575b140a57e2bb86f05b8d18f01a9f2cea1f5034.tar.gz
kogata-575b140a57e2bb86f05b8d18f01a9f2cea1f5034.zip
more glitch art :)
Diffstat (limited to 'src/lib/include')
-rw-r--r--src/lib/include/kogata/draw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/include/kogata/draw.h b/src/lib/include/kogata/draw.h
index d00036f..d8a2e13 100644
--- a/src/lib/include/kogata/draw.h
+++ b/src/lib/include/kogata/draw.h
@@ -57,7 +57,8 @@ void g_scroll_up(fb_t *fb, int l);
// ---- Text manipulation
font_t *g_load_font(const char* fontname);
-void g_free_font(font_t *f);
+void g_incref_font(font_t *f);
+void g_decref_font(font_t *f);
int g_text_width(font_t *f, const char* text);
int g_text_height(font_t *f, const char* text);