Project

General

Profile

Revision 313

organizing fonts

View differences:

font.h
16 16
struct font;
17 17
typedef struct font font_t;
18 18
font_t* (font_ctor)(const char *s);
19
void    (font_dtor)(font_t *p);
19
int     (font_dtor)(font_t *p);
20 20

  
21 21
font_t *consolas;
22
font_t *default_font;
22 23

  
24
int (font_init)(void);
25
int (font_free)(void);
26

  
23 27
struct text;
24 28
typedef struct text text_t;
25 29
text_t* (text_ctor)(const font_t *fnt, const char *txt);

Also available in: Unified diff