void removeOldEntries()
Remove entries not used since a minute Is a timer callback.
Generic pool for rendered text Caches a number of Images with text, as rendered by a Font...
TextRenderPool(size_t poolSize=200)
Constructor Constructs a pool with a maximum of poolSize entries.
void invalidateCachedText()
Invalidates all cached text images.
std::list< s_pool_entry > type_pool
Image * getRenderedText(FontBase *fontbase, const std::string &text)
Get a string image.
void addRenderedText(FontBase *fontbase, const std::string &text, Image *image)
Add a string image.