Exemplo n.º 1
0
        private static List <string> ColoursSection(SkinColoursSection section)
        {
            var list = WriteHelper.BaseListFormat("Colours");

            for (int i = 0; i < section.ComboColours.Count; i++)
            {
                list.Add($"Combo{i + 1} : {WriteHelper.Colour(section.ComboColours[i])}");
            }

            list.AddRange(new string[]
            {
                $"InputOverlayText: {WriteHelper.Colour(section.InputOverlayText)}",
                $"MenuGlow: {WriteHelper.Colour(section.MenuGlow)}",
                $"SliderBall: {WriteHelper.Colour(section.SliderBall)}",
                $"SliderBorder: {WriteHelper.Colour(section.SliderBorder)}"
            });

            if (section.SliderTrackOverride != default)
            {
                list.Add($"SliderTrackOverride: {WriteHelper.Colour(section.SliderTrackOverride)}");
            }

            list.AddRange(new string[]
            {
                $"SongSelectActiveText: {WriteHelper.Colour(section.SongSelectActiveText)}",
                $"SongSelectInactiveText: {WriteHelper.Colour(section.SongSelectInactiveText)}",
                $"SpinnerBackground: {WriteHelper.Colour(section.SpinnerBackground)}",
                $"StarBreakAdditive: {WriteHelper.Colour(section.StarBreakAdditive)}"
            });

            return(list);
        }
Exemplo n.º 2
0
        //public List<SkinManiaSection> ManiaSections { get; set; }

        public Skin()
        {
            GeneralSection      = new SkinGeneralSection();
            ColoursSection      = new SkinColoursSection();
            FontsSection        = new SkinFontsSection();
            CatchTheBeatSection = new SkinCatchTheBeatSection();
            //ManiaSections = new List<SkinManiaSection>();
        }