Exemple #1
0
        private string ReplaceColor(string line, ThemeColor o, List <ThemeColor> definitions)
        {
            for (int i = 0; i < definitions.Count; i++)
            {
                if (o.Equals(definitions[i]))
                {
                    line.Replace("", "");
                }
            }

            return(null);
        }
Exemple #2
0
        public bool Equals(ThemeColor c)
        {
            if (R == c.R && G == c.G && B == c.B)
            {
                return(true);
            }
            else if (Hex.ToLower().Equals(c.Hex.ToLower()))
            {
                return(true);
            }

            return(false);
        }