CursesW::initPair(3) Define a colour pair

SYNOPSIS

Void initPair( Int pair, Int f, Int b )

ARGUMENTS

pair The pair number to redefine (0 to CursesW.ColourPairs(3kaya) )

f The foreground colour (either a constant such as CursesW.Blue(3kaya) or one defined with CursesW.initColour(3kaya) )

b The background colour (either a constant such as CursesW.Blue(3kaya) or one defined with CursesW.initColour(3kaya) )

DESCRIPTION

Define a colour pair. These can then be used as text attributes using the ColourPair constructor of CursesW.Attr(3kaya)

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

CursesW.Black(3kaya)

CursesW.Blue(3kaya)

CursesW.ColourPairs(3kaya)

CursesW.Colours(3kaya)

CursesW.Cyan(3kaya)

CursesW.Green(3kaya)

CursesW.initPair(3kaya)

CursesW.initColour(3kaya)

CursesW.Magenta(3kaya)

CursesW.Red(3kaya)

CursesW.White(3kaya)

CursesW.Yellow(3kaya)