Example #1
0
void
SkFontSearchList::ready()
{
    // Clear list.
    resetFonts();
    setError( ERR_NO );
    setState( STATE_DL_FONTAPP_KEEP );
}
Example #2
0
// Delete list.
void
SkFontDataList::release()
{
    if( isMax() )
    {
        resetFonts();
        free( mFonts );
        mFonts = NULL;
    }
}
Example #3
0
void Drawing::initializeFonts()
{
	resetFonts();

	menuFont = interfaces::surface->CreateFont();
	interfaces::surface->SetFontGlyphSet(menuFont, charenc("Verdana"), 13, 20, 0, 0, FONTFLAG_ANTIALIAS);

	menuTitleFont = interfaces::surface->CreateFont();
	interfaces::surface->SetFontGlyphSet(menuTitleFont, charenc("Tahoma"), 13, 600, 0, 0, FONTFLAG_ANTIALIAS);

	espFont = interfaces::surface->CreateFont();
	interfaces::surface->SetFontGlyphSet(espFont, charenc("Tahoma"), 13, 1250, 0, 0, FONTFLAG_DROPSHADOW);

	scoreboardFont = interfaces::surface->CreateFont();
	interfaces::surface->SetFontGlyphSet(scoreboardFont, charenc("Tahoma"), 13, 500, 0, 0, FONTFLAG_ANTIALIAS);
}
Example #4
0
Drawing::Drawing()
{
	resetFonts();
}