summaryrefslogtreecommitdiffstats
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/text.h b/src/text.h
index 9c581d6..8ee0245 100644
--- a/src/text.h
+++ b/src/text.h
@@ -22,6 +22,8 @@
#ifndef TEXT_H
#define TEXT_H
+#include <stdio.h>
+
#include <png.h>
#include "font.h"
@@ -29,7 +31,7 @@
struct text;
struct text *
-text_new(const char *string);
+text_new(FILE *stream);
size_t
text_get_width(struct text *text) __attribute__((pure));