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

Comparing ray/src/rt/x11twind.h (file contents):
Revision 2.4 by greg, Fri Apr 11 16:01:27 2003 UTC vs.
Revision 2.5 by schorsch, Sat Jun 7 00:54:58 2003 UTC

# Line 8 | Line 8
8   *  Modified for X11 B. V. Smith
9   *      9/26/88
10   */
11 + #ifndef _RAD_X11TWIND_H_
12 + #define _RAD_X11TWIND_H_
13 + #ifdef __cplusplus
14 + extern "C" {
15 + #endif
16  
17 +
18   #include "copyright.h"
19  
20   #define LEFTMAR 2                       /* left margin width */
# Line 27 | Line 33 | typedef struct {
33   #define TNOCURS         0
34   #define TBLKCURS        1
35  
30 #ifdef NOPROTO
31
32 extern TEXTWIND  *xt_open();
33 extern void     xt_puts();
34 extern void     xt_putc();
35 extern void     xt_delete();
36 extern void     xt_insert();
37 extern void     xt_redraw();
38 extern void     xt_clear();
39 extern void     xt_move();
40 extern int      xt_cursor();
41 extern void     xt_close();
42
43 #else
44
36   extern TEXTWIND *xt_open(Display *dpy, Window parent,
37                          int x, int y, int width, int height,
38                          int bw, unsigned long fore, unsigned long back,
# Line 56 | Line 47 | extern void    xt_move(TEXTWIND *t, int r, int c);
47   extern int      xt_cursor(TEXTWIND *t, int curs);
48   extern void     xt_close(TEXTWIND *t);
49  
50 +
51 + #ifdef __cplusplus
52 + }
53   #endif
54 + #endif /* _RAD_X11TWIND_H_ */
55 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines