1Curses.initPair(3kaya) Kaya module reference Curses.initPair(3kaya)
2
3
4
6 Curses::initPair - Define a colour pair
7
9 Void initPair( Int pair, Int f, Int b )
10
12 pair The pair number to redefine (0 to Curses.ColourPairs (3kaya) )
13
14 f The foreground colour (either a constant such as Curses.Blue (3kaya)
15 or one defined with Curses.initColour (3kaya) )
16
17 b The background colour (either a constant such as Curses.Blue (3kaya)
18 or one defined with Curses.initColour (3kaya) )
19
21 Define a colour pair. These can then be used as text attributes using
22 the ColourPair constructor of Curses.Attr (3kaya)
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 Curses.Black (3kaya)
36 Curses.Blue (3kaya)
37 Curses.ColourPairs (3kaya)
38 Curses.Colours (3kaya)
39 Curses.Cyan (3kaya)
40 Curses.Green (3kaya)
41 Curses.initPair (3kaya)
42 Curses.initColour (3kaya)
43 Curses.Magenta (3kaya)
44 Curses.Red (3kaya)
45 Curses.White (3kaya)
46 Curses.Yellow (3kaya)
47
48
49
50Kaya December 2010 Curses.initPair(3kaya)