public static void Remove(Glyph pNode) { Debug.Assert(pNode != null); GlyphManager pManager = GlyphManager.privGetInstance(); pManager.baseRemove(pNode); }
public static void Print() { GlyphManager pManager = GlyphManager.privGetInstance(); Debug.Assert(pManager != null); Debug.WriteLine("------ Glyph Manager ------"); pManager.basePrint(); }
public static void Destroy() { // Get the instance GlyphManager pMan = GlyphManager.privGetInstance(); #if (TRACK_DESTRUCTOR) Debug.WriteLine("--->GlyphMan.Destroy()"); #endif pMan.baseDestroy(); }
public static Glyph Add(Glyph.Name glyphName, int key, Texture.Name textName, float x, float y, float width, float height) { GlyphManager pManager = GlyphManager.privGetInstance(); Glyph pNode = (Glyph)pManager.baseAdd(); Debug.Assert(pNode != null); pNode.Set(glyphName, key, textName, x, y, width, height); return(pNode); }
public static Glyph Find(Glyph.Name name, int key) { GlyphManager pManager = GlyphManager.privGetInstance(); // Compare functions only compares two Nodes pManager.pRefNode.name = name; pManager.pRefNode.key = key; Glyph pData = (Glyph)pManager.baseFind(pManager.pRefNode); return(pData); }