Example #1
0
 /// <summary>
 /// Changes the definition of a color.
 /// </summary>
 /// <remarks>
 /// When it is used, all occurences of that color on the screen
 /// immediately change to the new definition.
 /// <para>
 /// The value of <paramref name="color"/> must be between 0 and
 /// <see cref="Colors"/>, and the value of <paramref name="red"/>,
 /// <paramref name="green"/> and <paramref name="blue"/> must be
 /// between 0 and 1000.
 /// </para>
 /// </remarks>
 /// <param name="color">Number of the color to be changed.</param>
 /// <param name="red">Amount of the red color component.</param>
 /// <param name="green">Amount of the green color component.</param>
 /// <param name="blue">Amount of the blue color component.</param>
 public static void InitColor(short color, short red, short green, short blue)
 {
     CursesMethods.init_color(color, red, green, blue);
 }