|
ncurses_color_content(PHP 4 >= 4.3.0, PHP 5 < 5.3.0, PECL ncurses >= 1.0.0) ncurses_color_content — Retrieves RGB components of a color Описание
int ncurses_color_content
( int $color
, int &$r
, int &$g
, int &$b
)
Retrieves the red, green, and blue components for the given color definition. Terminal color capabilities must be initialized with ncurses_start_color() prior to calling this function. Список параметров
Возвращаемые значенияReturns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized. Смотрите также
|
|