Exemple #1
0
 public void deleteFont(uint id, String name, uint language)
 {
     ResFont font = (ResFont)getDataItem(fonts, id, name);
     if (font != null)
     {
         font.deleteItem(language);
     }
 }
Exemple #2
0
//-----------------------------------------------------------------------------

        public void addFont(uint id, String name, uint language, byte[] data)
        {
            ResFont font = (ResFont)getDataItem(fonts, id, name);
            if (font == null)
            {
                font = new ResFont(id, name);
                fonts.Add(font);
            }
            font.addItem(language, data);
        }