void Frontend_Exit() { if(FrontendModes[Frontend_Mode].exit) { FrontendModes[Frontend_Mode].exit(); } Font_Destroy(pFrontendFont); }
void Font::Destroy() { if (obj) { Font_Destroy(obj); obj = NULL; } }
bool Font::Create(const std::string& path, int size, unsigned int flags, bool immediate) { if (obj) Font_Destroy(obj); obj = Font_Create(path, size, flags, immediate); return obj != NULL; }