summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/text.h b/include/text.h
index c1de778..8a939c2 100644
--- a/include/text.h
+++ b/include/text.h
@@ -4,12 +4,14 @@ typedef struct text {
char *type;
char *scene;
char *font;
- char *text;
+ wchar_t *text;
unsigned int size;
struct vector2ui pos;
unsigned int attr;
unsigned long id;
} Text;
+unsigned long utf8_strlen(void *string);
+void utf8to32_strcpy(wchar_t *dest, char *src);
struct idlist *load_texts(char *filename);
void text_destroy(void *text);