summaryrefslogtreecommitdiff
path: root/include/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.h')
-rw-r--r--include/text.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/text.h b/include/text.h
index 5c2dc5d..d8d9a47 100644
--- a/include/text.h
+++ b/include/text.h
@@ -1,15 +1,15 @@
-#define TXT_ATTR_INVISIBLE (1 << 0)
+#define TXT_ATTR_INVISIBLE (1 << 0)
typedef struct text {
- char *type;
- char *scene;
- char *font;
- wchar_t *text;
- unsigned int size;
- struct vector2ui pos;
- unsigned int attr;
- unsigned long id;
+ char *type;
+ char *scene;
+ char *font;
+ wchar_t *text;
+ size_t size;
+ struct vector2ui pos;
+ size_t attr;
+ size_t id;
} Text;
-struct idlist *load_texts(char *filename);
-void text_destroy(void *text);
+struct idlist *load_texts(char *filename);
+void text_destroy(void *text);