[FontManager] ReloadFonts() was only used in ScreenTestFonts, which is gone now.

This commit is contained in:
AJ Kelly
2011-08-27 15:27:56 -05:00
parent 1a1b6af828
commit 8561fd0b26
2 changed files with 0 additions and 16 deletions
-9
View File
@@ -29,15 +29,6 @@ FontManager::~FontManager()
}
}
void FontManager::ReloadFonts()
{
for(map<FontName, Font*>::iterator i = g_mapPathToFont.begin();
i != g_mapPathToFont.end(); ++i)
{
i->second->Reload();
}
}
Font* FontManager::LoadFont( const RString &sFontOrTextureFilePath, RString sChars )
{
Font *pFont;
-7
View File
@@ -16,13 +16,6 @@ public:
Font *CopyFont( Font *pFont );
void UnloadFont( Font *fp );
//void PruneFonts();
/* Warning: This reloads fonts completely, so all BitmapTexts need to be
* reset, too. If this isn't done, best case they end up with old font
* metrics; worst case, they get left with stale pointers to RageTextures
* that'll get freed eventually and crash. This is only used for realtime
* adjustment of fonts in ScreenTestFonts at the moment. */
void ReloadFonts();
};
extern FontManager* FONT; // global and accessable from anywhere in our program