public void deleteIcon(uint id, String name, uint language) { ResIcon resicon = (ResIcon)getDataItem(icons, id, name); if (resicon != null) { resicon.deleteItem(language); } }
//----------------------------------------------------------------------------- public void addIcon(uint id, String name, uint language, Icon icon) { ResIcon resicon = (ResIcon)getDataItem(icons, id, name); if (resicon == null) { resicon = new ResIcon(id, name); icons.Add(resicon); } resicon.addItem(language, icon); }