[This is preliminary documentation and is subject to change.]

Retrieves the color numbers that a specified color-pair consists of.

Namespace:  CursesSharp
Assembly:  CursesSharp (in CursesSharp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static void PairContent(
	short color,
	out short fg,
	out short bg
)
Visual Basic (Declaration)
Public Shared Sub PairContent ( _
	color As Short, _
	<OutAttribute> ByRef fg As Short, _
	<OutAttribute> ByRef bg As Short _
)
Visual C++
public:
static void PairContent(
	short color, 
	[OutAttribute] short% fg, 
	[OutAttribute] short% bg
)

Parameters

color
Type: System..::.Int16
Color-pair number
fg
Type: System..::.Int16 %
Reference to a variable in which the foreground color will be stored.
bg
Type: System..::.Int16 %
Reference to a variable in which the background color will be stored.

Remarks

Requires two references of variables for storing the foreground and the background color numbers.

The value of color must be between 1 and ColorPairs - 1. The values that are stored in fg and bg are between 0 and Colors.

See Also