Example #1
0
void Frontend_Exit()
{
	if(FrontendModes[Frontend_Mode].exit)
	{
		FrontendModes[Frontend_Mode].exit();
	}

	Font_Destroy(pFrontendFont);
}
Example #2
0
void Font::Destroy() { if (obj) { Font_Destroy(obj); obj = NULL; } }
Example #3
0
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; }