SilverScreen Solid Modeler

panel_input

panel_input

Previous topic Next topic  

panel_input

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int panel_input ( char *message, char *buf )

 

char *message;    // prompting message

char *buf;        // address of character buffer to receive input string

 

 




Synopsis

#include "silver.h"

 

The panel_input function displays a panel in the center of the screen and a prompting message specified by message , and then accepts a string of characters from an input area within the panel.

 

 

Parameters

message is a null-terminated string containing the prompt message. buf is a character array that is to receive the input string.

 

 

Return Value

If the input process terminates with Esc , then panel_input returns 0; otherwise panel_input copies the input string into buf , and returns 1.