Unix and Linux Discussions Tagged with reference |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
22,571 |
What is on Your Mind? |
|
|
|
5 |
9,494 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
668 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,638 |
Programming |
|
|
|
0 |
1,854 |
Software Releases - RSS News |
|
|
|
0 |
1,027 |
Software Releases - RSS News |
|
|
|
0 |
1,896 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,392 |
OS X Support RSS |
|
|
|
6 |
5,538 |
Programming |
|
|
|
6 |
19,857 |
Programming |
|
|
|
0 |
1,016 |
Software Releases - RSS News |
|
|
|
2 |
3,658 |
Programming |
|
|
|
2 |
2,978 |
Shell Programming and Scripting |
|
|
|
0 |
1,156 |
Complex Event Processing RSS News |
|
|
|
0 |
1,242 |
Software Releases - RSS News |
|
|
|
0 |
1,560 |
Complex Event Processing RSS News |
|
|
|
0 |
1,207 |
Complex Event Processing RSS News |
|
|
|
0 |
1,851 |
Complex Event Processing RSS News |
|
|
|
0 |
1,340 |
UNIX and Linux RSS News |
|
|
|
2 |
6,665 |
AIX |
|
|
|
8 |
6,363 |
Shell Programming and Scripting |
|
|
|
0 |
1,731 |
UNIX and Linux RSS News |
|
|
|
0 |
1,435 |
Complex Event Processing RSS News |
|
|
|
2 |
15,335 |
Windows & DOS: Issues & Discussions |
|
|
|
2 |
4,677 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,646 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,974 |
Programming |
|
|
|
2 |
6,265 |
Programming |
|
|
|
3 |
2,767 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,785 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,552 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,151 |
Programming |
|
|
|
4 |
8,779 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,574 |
IP Networking |
|
|
|
1 |
3,460 |
Programming |
|
|
|
3 |
8,653 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,234 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,972 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,897 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,702 |
UNIX for Dummies Questions & Answers |
NCURSES_COLOR_CONTENT(3) 1 NCURSES_COLOR_CONTENT(3)
ncurses_color_content - Retrieves RGB components of a color
SYNOPSIS
int ncurses_color_content (int $color, int &$r, int &$g, int &$b)
DESCRIPTION
Retrieves the red, green, and blue components for the given color definition. Terminal color capabilities must be initialized with
ncurses_start_color(3) prior to calling this function.
PARAMETERS
o $color
- The number of the color to retrieve information for. May be one of the pre-defined color constants.
o $r
- A reference to which to return the red component of the color. The value returned to the reference will be between 0 and 1000.
o $g
- A reference to which to return the green component of the color. The value returned to the reference will be between 0 and 1000.
o $b
- A reference to which to return the blue component of the color. The value returned to the reference will be between 0 and 1000.
RETURN VALUES
Returns -1 if the function was successful, and 0 if ncurses or terminal color capabilities have not been initialized.
SEE ALSO
ncurses_init_color(3), ncurses_start_color(3).
PHP Documentation Group NCURSES_COLOR_CONTENT(3)