Exemple #1
0
        private ColorStates(ColorStates colorStates)
        {
            NormalColor      = colorStates.NormalColor;
            HighlightedColor = colorStates.HighlightedColor;
            PressedColor     = colorStates.PressedColor;

            CurrentColor = NormalColor;
        }
Exemple #2
0
 public static ColorStates Copy(ColorStates colorStates)
 {
     return(new ColorStates(colorStates));
 }