|
||
void pm_rgb ( char *message, char *buf )
char *message; // prompt string char *buf; // character buffer to receive RGB string
|
|
|||
Synopsis |
#include "silver.h"
The pm_rgb function adds a prompt for an RGB string to the current panel, with prompt specified by message . When the panel is displayed, a button will permit the user to use any of the color selection facilities to select a color. After pm_execute , buf will contain the resulting string. If properly formatted, the string can be converted to RGB values (see text_to_rgb).
|
|
||
Parameters |
message is a null-terminated string containing the prompt message. buf is the address of a character buffer that is to receive the character string.
|
|
||
Return Value |
none.
|
|
||
See Also |
|
|
||
Example |
|
|
||
|
|