SilverScreen Solid Modeler

prompt_point

prompt_point

Previous topic Next topic  

prompt_point

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int prompt_point ( char *message )

 

char *message;     // prompt message string

 

 

 




Synopsis

#include "silver.h"

 

The prompt_point function displays the prompt specified by message at the bottom of the screen, then allows the user to set predefined Silver variables worldx , worldy and worldz by moving the SilverScreen cursor.

 

 

Parameters

message is a null-terminated string containing a prompt message.

 

 

Return Value

prompt_point returns 1 if the cursor movement is successfully completed, and 0 otherwise (the user hit Esc).