ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/driver.h
(Generate patch)

Comparing ray/src/rt/driver.h (file contents):
Revision 1.4 by greg, Mon Jan 8 13:37:49 1990 UTC vs.
Revision 1.5 by greg, Tue Jan 30 11:37:34 1990 UTC

# Line 92 | Line 92 | extern struct device {                 /* interactive device */
92   *      string ends with '\n', the message is considered complete,
93   *      and the next call can erase it.
94   *  }
95 < *  (*dev->comin)(in)
96 < *  char  *in;
95 > *  (*dev->comin)(in, prompt)
96 > *  char  *in, *prompt;
97   *  {
98 < *      Read an edited input string from the command line.  If
99 < *      an unrecognized control character is entered, terminate
100 < *      input and return the string with only that character.
101 < *      The input string should not contain a newline.
102 < *      Must work in consort with comout.
98 > *      Print a prompt then read an edited input command line
99 > *      assuming the in buffer is big enough.  Unless prompt is NULL,
100 > *      the driver may substitute its own rview command.  This is
101 > *      the most reliable way to repaint areas of the screen.
102 > *      If the user enters an unrecognized control character is entered,
103 > *      terminate input and return the string with only that character.
104 > *      The input string should not contain a newline.  The routines in
105 > *      editline.c may be useful.  Comin must work in consort with comout.
106   *  }
107   *  xsiz, ysiz
108   *      The maximum allowable x and y dimensions.  If any

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines