| 1 |
#ifndef __al_included_allegro5_font_h |
| 2 |
#define __al_included_allegro5_font_h |
| 3 |
|
| 4 |
#include "allegro5/internal/aintern_font.h" |
| 5 |
|
| 6 |
extern ALLEGRO_FONT_VTABLE _al_font_vtable_color; |
| 7 |
|
| 8 |
typedef struct ALLEGRO_FONT_COLOR_DATA |
| 9 |
{ |
| 10 |
int begin, end; /* first char and one-past-the-end char */ |
| 11 |
ALLEGRO_BITMAP *glyphs; /* our glyphs */ |
| 12 |
ALLEGRO_BITMAP **bitmaps; /* sub bitmaps pointing to our glyphs */ |
| 13 |
struct ALLEGRO_FONT_COLOR_DATA *next; /* linked list structure */ |
| 14 |
} ALLEGRO_FONT_COLOR_DATA; |
| 15 |
|
| 16 |
ALLEGRO_FONT *_al_load_bitmap_font(const char *filename, |
| 17 |
int size, int flags); |
| 18 |
ALLEGRO_FONT *_al_load_bmfont_xml(const char *filename, |
| 19 |
int size, int flags); |
| 20 |
|
| 21 |
|
| 22 |
#endif |