22 #ifndef SCI_GRAPHICS_CACHE_H 23 #define SCI_GRAPHICS_CACHE_H 25 #include "common/hashmap.h" 43 GfxFont *getFont(GuiResourceId fontId);
44 GfxView *getView(GuiResourceId viewId);
46 int16 kernelViewGetCelWidth(GuiResourceId viewId, int16 loopNo, int16 celNo);
47 int16 kernelViewGetCelHeight(GuiResourceId viewId, int16 loopNo, int16 celNo);
48 int16 kernelViewGetLoopCount(GuiResourceId viewId);
49 int16 kernelViewGetCelCount(GuiResourceId viewId, int16 loopNo);
52 void purgeFontCache();
53 void purgeViewCache();
59 FontCache _cachedFonts;
60 ViewCache _cachedViews;
65 #endif // SCI_GRAPHICS_CACHE_H Definition: resource.h:327