From 535b5407cf70cb3fde5026d1fa28804218d609df Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 31 Dec 2016 17:08:04 -0800 Subject: [PATCH] WIP --- book.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/book.h b/book.h index c64126a..75f3dd0 100644 --- a/book.h +++ b/book.h @@ -20,6 +20,7 @@ #define BOOK_H #include +#include /* * Types @@ -36,12 +37,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 {