示例#1
0
        private void GenerateChildren()
        {
            _rootLayout.ClearChildren();

            foreach (var fileName in AllFiles())
            {
                if (IsDone(fileName))
                {
                    _rootLayout.AddChild(new Label($"- DONE {fileName}", _assetManager.AbilityFontSmall, Color.Gray));
                }
                else
                {
                    _rootLayout.AddChild(new Label($"- TODO {fileName}", _assetManager.AbilityFontSmall, Color.White));
                }
            }
        }