Scroll to navigation

CursesW.initColour(3kaya) Kaya module reference CursesW.initColour(3kaya)

NAME

CursesW::initColour - Initialise a new colour

SYNOPSIS

Void initColour( Int col, Int r, Int g, Int b )

ARGUMENTS

col The colour number to redefine (0 to CursesW.Colours (3kaya) )
r The new red channel value (0-1000)
g The new green channel value (0-1000)
b The new blue channel value (0-1000)

DESCRIPTION

Initialise a new colour, or change an existing colour, provided that the terminal supports this operation.

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

CursesW.initPair (3kaya)
August 2014 Kaya