public static void Destroy() { // Get the instance GlyphMan pMan = GlyphMan.GetInstance(); pMan.baseDestory(); }
public static void Remove(Glyph pNode) { Debug.Assert(pNode != null); GlyphMan pMan = GlyphMan.GetInstance(); pMan.baseRemove(pNode); }
public static Glyph Add(Glyph.Name name, int key, Texture.Name textName, float x, float y, float width, float height) { GlyphMan pMan = GlyphMan.GetInstance(); Glyph pNode = (Glyph)pMan.baseAdd(); Debug.Assert(pNode != null); pNode.set(name, key, textName, x, y, width, height); return(pNode); }
public static Glyph Find(Glyph.Name name, int key) { GlyphMan pMan = GlyphMan.GetInstance(); // Compare functions only compares two Nodes pMan.pRefNode.name = name; pMan.pRefNode.key = key; Glyph pData = (Glyph)pMan.baseFind(pMan.pRefNode); return(pData); }