Exemple #1
0
        public static void Destroy()
        {
            // Get the instance
            GlyphMan pMan = GlyphMan.GetInstance();

            pMan.baseDestory();
        }
Exemple #2
0
        public static void Remove(Glyph pNode)
        {
            Debug.Assert(pNode != null);
            GlyphMan pMan = GlyphMan.GetInstance();

            pMan.baseRemove(pNode);
        }
Exemple #3
0
        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);
        }
Exemple #4
0
        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);
        }