示例#1
0
        public void deleteCursor(uint id, String name, uint language)
        {
            ResCursor cur = (ResCursor)getDataItem(cursors, id, name);

            if (cur != null)
            {
                cur.deleteItem(language);
            }
        }
示例#2
0
//- 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);
        }