(Font) Added notification on atlas change

Will only clear glyphes when setting differents parameters


Former-commit-id: b16a289742c0f23fa5066d3c52ce35b4abc626c6
This commit is contained in:
Lynix
2015-01-16 18:57:09 +01:00
parent cd5399459d
commit 77347c8582
2 changed files with 22 additions and 10 deletions

View File

@@ -79,6 +79,7 @@ class NAZARA_API NzFont : public NzResource, NzAbstractAtlas::Listener, NzNonCop
enum ModicationCode
{
ModificationCode_AtlasChanged,
ModificationCode_GlyphCacheCleared,
ModificationCode_KerningCacheCleared,
ModificationCode_SizeInfoCacheCleared