upgraded codes based on newly CM... library.

This commit is contained in:
2023-02-13 11:48:53 +08:00
parent 8fc83ba9b3
commit 251d851f65
27 changed files with 71 additions and 65 deletions

View File

@@ -14,9 +14,9 @@ namespace hgl
*/
class FontManage
{
MapObject<Font,FontSource> sources;
ObjectMap<Font,FontSource> sources;
MapObject<FontConfig,TileFont> tilefonts;
ObjectMap<FontConfig,TileFont> tilefonts;
};//class FontManage
}//namespace graph
}//namespace hgl

View File

@@ -73,7 +73,7 @@ namespace hgl
SortedSets<void *> ref_object;
MapObject<u32char,CLA> cla_cache;
ObjectMap<u32char,CLA> cla_cache;
public:
@@ -98,7 +98,7 @@ namespace hgl
Font fnt;
MapObject<u32char,FontBitmap> chars_bitmap; ///<字符位图
ObjectMap<u32char,FontBitmap> chars_bitmap; ///<字符位图
protected: