public void deleteFont(uint id, String name, uint language) { ResFont font = (ResFont)getDataItem(fonts, id, name); if (font != null) { font.deleteItem(language); } }
//----------------------------------------------------------------------------- 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); }