Unix and Linux Discussions Tagged with reference |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
21,032 |
What is on Your Mind? |
|
|
|
5 |
7,598 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
0 |
578 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,518 |
Programming |
|
|
|
0 |
1,810 |
Software Releases - RSS News |
|
|
|
0 |
981 |
Software Releases - RSS News |
|
|
|
0 |
1,811 |
Solaris BigAdmin RSS |
|
|
|
0 |
1,350 |
OS X Support RSS |
|
|
|
6 |
5,389 |
Programming |
|
|
|
6 |
19,505 |
Programming |
|
|
|
0 |
973 |
Software Releases - RSS News |
|
|
|
2 |
3,576 |
Programming |
|
|
|
2 |
2,882 |
Shell Programming and Scripting |
|
|
|
0 |
1,102 |
Complex Event Processing RSS News |
|
|
|
0 |
1,173 |
Software Releases - RSS News |
|
|
|
0 |
1,477 |
Complex Event Processing RSS News |
|
|
|
0 |
1,139 |
Complex Event Processing RSS News |
|
|
|
0 |
1,808 |
Complex Event Processing RSS News |
|
|
|
0 |
1,281 |
UNIX and Linux RSS News |
|
|
|
2 |
6,566 |
AIX |
|
|
|
8 |
6,213 |
Shell Programming and Scripting |
|
|
|
0 |
1,684 |
UNIX and Linux RSS News |
|
|
|
0 |
1,385 |
Complex Event Processing RSS News |
|
|
|
2 |
15,214 |
Windows & DOS: Issues & Discussions |
|
|
|
2 |
4,417 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,551 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,688 |
Programming |
|
|
|
2 |
5,932 |
Programming |
|
|
|
3 |
2,641 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,529 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,323 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,940 |
Programming |
|
|
|
4 |
8,550 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,269 |
IP Networking |
|
|
|
1 |
3,156 |
Programming |
|
|
|
3 |
8,345 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,076 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,782 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,769 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,455 |
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)