コード例 #1
0
ファイル: Frontend.cpp プロジェクト: NikolayBorcho/Arena
void Frontend_Exit()
{
	if(FrontendModes[Frontend_Mode].exit)
	{
		FrontendModes[Frontend_Mode].exit();
	}

	Font_Destroy(pFrontendFont);
}
コード例 #2
0
ファイル: Tiny2D_CPPWrappers.cpp プロジェクト: hrasdt/Tiny2D
void Font::Destroy() { if (obj) { Font_Destroy(obj); obj = NULL; } }
コード例 #3
0
ファイル: Tiny2D_CPPWrappers.cpp プロジェクト: hrasdt/Tiny2D
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; }