|
||
int prompt_color ( char *message, int *color )
char *message; // prompt message string int *color; // address of integer to receive color number
|
|
|
Synopsis |
#include "silver.h"
The prompt_color function allows the user to select a color number, via use of one of the color selection panels. The message parameter is used in prompting.
|
|
Parameters |
message is a null-terminated string containing a prompt message. color is the address of an integer which is to receive the color number.
|
|
Return Value |
prompt_color stores the color number into color and returns 1 if a color was succcessfully selected; otherwise 0 is returned.
|
|
|
|