Esempio n. 1
0
        void OnEntryItemInserted(object sender, ItemInsertedEventArgs args)
        {
            InfoLogEntry newEntry = InfoLogEntry.Create();

            AddSubAsset(newEntry, infoGroupCache);
            infoGroupCache.entries[args.ItemIndex] = newEntry;

            DrawSideBar_Entry = DrawSideBar_Entries_Normal;
            DrawEditor        = DrawEditor_Normal;

            SaveDatabase();
        }
Esempio n. 2
0
        void OnAddNewEntryButtonClicked()
        {
            InfoLogEntry newEntry = InfoLogEntry.Create();

            AddSubAsset(newEntry, infoGroupCache);
            infoGroupCache.entries.Add(newEntry);
            CacheEntryTags();

            DrawSideBar_Entry = DrawSideBar_Entries_Normal;
            DrawEditor        = DrawEditor_Normal;

            SaveDatabase();
        }