Curses.initPair(3kaya)
NAME
Curses::initPair - Define a colour pair
SYNOPSIS
Void initPair( Int pair, Int f, Int b )
ARGUMENTS
pair The pair number to redefine (0 to Curses.ColourPairs (3kaya) )
f The foreground colour (either a constant such as Curses.Blue (3kaya) or one defined with Curses.initColour (3kaya) )
b The background colour (either a constant such as Curses.Blue (3kaya) or one defined with Curses.initColour (3kaya) )
DESCRIPTION
Define a colour pair. These can then be used as text attributes using the ColourPair constructor of Curses.Attr (3kaya)
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). 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
- Curses.Black (3kaya)
Curses.Blue (3kaya)
Curses.ColourPairs (3kaya) Curses.Colours (3kaya)
Curses.Cyan (3kaya)
Curses.Green (3kaya)
Curses.initPair (3kaya)
Curses.initColour (3kaya) Curses.Magenta (3kaya)
Curses.Red (3kaya)
Curses.White (3kaya)
Curses.Yellow (3kaya)