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

Changes the definition of a color-pair number 0.

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

Syntax

C#
public static void AssumeDefaultColors(
	int fg,
	int bg
)
Visual Basic (Declaration)
Public Shared Sub AssumeDefaultColors ( _
	fg As Integer, _
	bg As Integer _
)
Visual C++
public:
static void AssumeDefaultColors(
	int fg, 
	int bg
)

Parameters

fg
Type: System..::.Int32
Foreground color number.
bg
Type: System..::.Int32
Background color number.

Remarks

The screen is refreshed and all occurences of color-pair number 0 are changed to the new definition. The value of fg and bg must be between 0 and Colors.

See Also