Exemplo n.º 1
0
        } // constructor

        /// <summary>
        /// Create a <c>CharFormatting</c> setting the given color. <c>changeColor</c> is set to <c>true</c>.
        /// </summary>
        /// <param name="inColor">The color that the <c>CharFormatting</c> must request to apply.</param>
        public CharFormatting(RGB inColor)
        {
            InitNeutral();
            changeColor = true;
            color       = inColor;
        } // CharFormatting(RGB inColor)
Exemplo n.º 2
0
 public static void Init()
 {
     neutralArcsCol = new RGB(255, 255, 254);
     NeutralCF      = new CharFormatting();
     BlackCF        = new CharFormatting(new RGB(0, 0, 0));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Définit un nouveau <c>CharFormatting</c> pour le bouton indiqué.
 /// </summary>
 /// <param name="butNrTxt">Le numéro du boutton.</param>
 /// <param name="inCol">La nouvelle couleur pour le bouton.</param>
 public void SetArcButtonCol(string butNrTxt, RGB inCol)
 {
     SetArcButtonCol(int.Parse(butNrTxt), inCol);
 }