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.3 by greg, Wed Oct 25 15:37:12 1989 UTC vs.
Revision 1.4 by greg, Mon Jan 8 13:37:49 1990 UTC

# Line 15 | Line 15 | struct driver {                                /* driver functions */
15          int  (*getcur)();                       /* get cursor position */
16          int  (*comout)();                       /* command line output */
17          int  (*comin)();                        /* command line input */
18 +        double  pixaspect;                      /* pixel aspect ratio */
19          int  xsiz, ysiz;                        /* device size */
20          int  inpready;                          /* input ready on device */
21   };
# Line 34 | Line 35 | extern struct driver  *comm_init();    /* stream interfac
35   #define COM_COMIN               4
36   #define NREQUESTS               5       /* number of valid requests */
37  
38 < struct device {                         /* interactive device */
38 > extern struct device {                  /* interactive device */
39          char  *name;                            /* device name */
40          char  *descrip;                         /* description */
41          struct driver  *(*init)();              /* initialize device */
42 < };
42 > }  devtable[];                          /* supported devices */
43  
43 extern struct device  devtable[];       /* supported devices */
44
44   #define  MB1            ('\n')          /* mouse button 1 */
45   #define  MB2            ('\r')          /* mouse button 2 */
46   #define  MB3            (' ')           /* mouse button 3 */
47   #define  ABORT          ('C'-'@')       /* abort key */
49
50 #define  MAXRES         4000            /* preposterous display resolution */
48  
49   /*
50   *  struct driver *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines