public void deleteCursor(uint id, String name, uint language) { ResCursor cur = (ResCursor)getDataItem(cursors, id, name); if (cur != null) { cur.deleteItem(language); } }
//- resource CRUD ------------------------------------------------------------- public void addCursor(uint id, String name, uint language, Icon cursor) { ResCursor cur = (ResCursor)getDataItem(cursors, id, name); if (cur == null) { cur = new ResCursor(id, name); cursors.Add(cur); } cur.addItem(language, cursor); }