diff --git a/book.h b/book.h index 88b44d1..447fea6 100644 --- a/book.h +++ b/book.h @@ -24,6 +24,7 @@ #define BOOK_H #include +#include /* * Types @@ -40,12 +41,27 @@ typedef struct { Book_Block text; } Book_Entry; +typedef struct { + unsigned char bitmap[EB_SIZE_WIDE_FONT_48]; +} Book_Glyph; + +typedef struct { + Book_Glyph* glyphs; + int glyph_count; + int glyph_size; + int glyph_wide; +} Book_Font; + typedef struct { char* title; Book_Block copyright; + Book_Entry* entries; int entry_count; int entry_alloc; + + Book_Font* fonts; + int font_count; } Book_Subbook; typedef struct {