Exemplo n.º 1
0
        private DevLogList ConfigureList(DevLogEntry.Status status)
        {
            DevLogList list = new DevLogList(entries, status);

            list.drawElementCallback   = list.DrawLogListElement;
            list.drawHeaderCallback    = list.DrawHeader;
            list.elementHeightCallback = list.ElementHeightCallback;
            list.onReorderCallback     = list.SaveReorderedList;
            list.onSelectCallback      = list.OnSelect;
            list.displayAdd            = false;

            return(list);
        }
Exemplo n.º 2
0
        private void ConfigureReorderableDevLogLists()
        {
            if (DevLogList.isDirty || entries != lastEntriesList)
            {
                ideaList       = ConfigureList(DevLogEntry.Status.Idea);
                todoList       = ConfigureList(DevLogEntry.Status.ToDo);
                inProgressList = ConfigureList(DevLogEntry.Status.InProgress);
                testingList    = ConfigureList(DevLogEntry.Status.Testing);
                doneList       = ConfigureList(DevLogEntry.Status.Done);

                lastEntriesList = entries;
            }
            else if (entries == null)
            {
                doneList = null;
            }
        }
Exemplo n.º 3
0
        private DevLogList ConfigureList(DevLogEntry.Status status)
        {
            DevLogList list = new DevLogList(entries, status);

            return(list);
        }