/// <summary> /// Retrieves the color numbers that a specified color-pair consists of. /// </summary> /// <remarks> /// Requires two references of variables for storing the foreground /// and the background color numbers. /// <para> /// The value of <paramref name="color"/> must be between 1 and /// <see cref="ColorPairs"/> - 1. The values that are stored in /// <paramref name="fg"/> and <paramref name="bg"/> are between /// 0 and <see cref="Colors"/>. /// </para> /// </remarks> /// <param name="color">Color-pair number</param> /// <param name="fg">Reference to a variable in which the foreground /// color will be stored.</param> /// <param name="bg">Reference to a variable in which the background /// color will be stored.</param> public static void PairContent(short color, out short fg, out short bg) { CursesMethods.pair_content(color, out fg, out bg); }