summaryrefslogtreecommitdiff
path: root/include/text.h
blob: c1de7785fcdbb88cc48dda54bc74491e753e0eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define TXT_ATTR_INVISIBLE      (1 << 0)

typedef struct text {
    char             *type;
    char             *scene;
    char             *font;
    char             *text;
    unsigned int      size;
    struct vector2ui  pos;
    unsigned int      attr;
    unsigned long     id;
} Text;

struct idlist *load_texts(char *filename);
void           text_destroy(void *text);