Unix and Linux Discussions Tagged with reference |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
26,740 |
What is on Your Mind? |
|
|
|
5 |
10,975 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
1,138 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,987 |
Programming |
|
|
|
0 |
2,260 |
Software Releases - RSS News |
|
|
|
0 |
1,294 |
Software Releases - RSS News |
|
|
|
0 |
1,983 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,438 |
OS X Support RSS |
|
|
|
6 |
6,050 |
Programming |
|
|
|
6 |
20,385 |
Programming |
|
|
|
0 |
1,147 |
Software Releases - RSS News |
|
|
|
2 |
3,965 |
Programming |
|
|
|
2 |
3,145 |
Shell Programming and Scripting |
|
|
|
0 |
1,260 |
Complex Event Processing RSS News |
|
|
|
0 |
1,457 |
Software Releases - RSS News |
|
|
|
0 |
1,632 |
Complex Event Processing RSS News |
|
|
|
0 |
1,306 |
Complex Event Processing RSS News |
|
|
|
0 |
1,900 |
Complex Event Processing RSS News |
|
|
|
0 |
1,455 |
UNIX and Linux RSS News |
|
|
|
2 |
6,844 |
AIX |
|
|
|
8 |
6,716 |
Shell Programming and Scripting |
|
|
|
0 |
1,804 |
UNIX and Linux RSS News |
|
|
|
0 |
1,482 |
Complex Event Processing RSS News |
|
|
|
2 |
16,387 |
Windows & DOS: Issues & Discussions |
|
|
|
2 |
5,160 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,972 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,566 |
Programming |
|
|
|
2 |
6,890 |
Programming |
|
|
|
3 |
2,933 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,132 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,862 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,821 |
Programming |
|
|
|
4 |
9,192 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,685 |
IP Networking |
|
|
|
1 |
4,283 |
Programming |
|
|
|
3 |
9,095 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,523 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,360 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,117 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,077 |
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)