Unix and Linux Discussions Tagged with reference |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
24,523 |
What is on Your Mind? |
|
|
|
5 |
10,801 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
774 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,886 |
Programming |
|
|
|
0 |
2,067 |
Software Releases - RSS News |
|
|
|
0 |
1,160 |
Software Releases - RSS News |
|
|
|
0 |
1,972 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,422 |
OS X Support RSS |
|
|
|
6 |
5,823 |
Programming |
|
|
|
6 |
20,208 |
Programming |
|
|
|
0 |
1,074 |
Software Releases - RSS News |
|
|
|
2 |
3,841 |
Programming |
|
|
|
2 |
3,117 |
Shell Programming and Scripting |
|
|
|
0 |
1,224 |
Complex Event Processing RSS News |
|
|
|
0 |
1,336 |
Software Releases - RSS News |
|
|
|
0 |
1,602 |
Complex Event Processing RSS News |
|
|
|
0 |
1,257 |
Complex Event Processing RSS News |
|
|
|
0 |
1,882 |
Complex Event Processing RSS News |
|
|
|
0 |
1,392 |
UNIX and Linux RSS News |
|
|
|
2 |
6,777 |
AIX |
|
|
|
8 |
6,661 |
Shell Programming and Scripting |
|
|
|
0 |
1,771 |
UNIX and Linux RSS News |
|
|
|
0 |
1,454 |
Complex Event Processing RSS News |
|
|
|
2 |
15,469 |
Windows & DOS: Issues & Discussions |
|
|
|
2 |
5,105 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,917 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,400 |
Programming |
|
|
|
2 |
6,699 |
Programming |
|
|
|
3 |
2,908 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,077 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,821 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,618 |
Programming |
|
|
|
4 |
9,090 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,148 |
IP Networking |
|
|
|
1 |
3,969 |
Programming |
|
|
|
3 |
9,026 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,474 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,299 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,078 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,024 |
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)