public void deleteFontDirectory(uint id, String name, uint language) { ResFontDir fontd = (ResFontDir)getDataItem(fontDirectories, id, name); if (fontd != null) { fontd.deleteItem(language); } }
//----------------------------------------------------------------------------- public void addFontDirectory(uint id, String name, uint language, byte[] data) { ResFontDir fontd = (ResFontDir)getDataItem(fontDirectories, id, name); if (fontd == null) { fontd = new ResFontDir(id, name); fontDirectories.Add(fontd); } fontd.addItem(language, data); }