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 2.7 by greg, Fri Jun 27 06:53:22 2003 UTC vs.
Revision 2.8 by schorsch, Wed Aug 20 10:00:09 2003 UTC

# Line 4 | Line 4
4   */
5   #ifndef _RAD_DRIVER_H_
6   #define _RAD_DRIVER_H_
7 +
8 + #include "color.h"
9 +
10   #ifdef __cplusplus
11   extern "C" {
12   #endif
13  
14   struct driver {                         /* driver functions */
15 <        void  (*close)();                       /* close device */
16 <        void  (*clear)();                       /* clear device */
17 <        void  (*paintr)();                      /* paint rectangle */
18 <        int  (*getcur)();                       /* get cursor position */
19 <        void  (*comout)();                      /* command line output */
15 >        void  (*close)(void);                   /* close device */
16 >        void  (*clear)(int, int);                       /* clear device */
17 >        void  (*paintr)(COLOR  col, int  xmin, int ymin, int xmax, int ymax);                   /* paint rectangle */
18 >        int  (*getcur)(int*,int*);                      /* get cursor position */
19 >        void  (*comout)(char*);                 /* command line output */
20          void  (*comin)();                       /* command line input */
21          void  (*flush)();                       /* flush output */
22          double  pixaspect;                      /* pixel aspect ratio */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines