#ifndef FONTCACHE_H #define FONTCACHE_H #include typedef struct { unsigned int Capcity; unsigned int Size; char* FontFilePath; TTF_Font** Fonts; } FontCache; FontCache* CreateFontCache(char* fontFilePath); TTF_Font* GetFont(unsigned short fontSize, FontCache* cache); void FreeFontCache(FontCache* cache); #endif