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.1 by greg, Tue Nov 12 17:08:42 1991 UTC vs.
Revision 2.5 by schorsch, Sat Jun 7 00:54:58 2003 UTC

# Line 1 | Line 1
1 < /* SCCSid "$SunId$ LBL" */
2 <
3 < /* Copyright (c) 1989 Regents of the University of California */
4 <
1 > /* RCSid $Id$ */
2   /*
3   *  xtwind.h - header for X text window routines.
4   *
# Line 11 | 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 */
21  
22   typedef struct {
# Line 28 | Line 33 | typedef struct {
33   #define TNOCURS         0
34   #define TBLKCURS        1
35  
36 < extern TEXTWIND  *xt_open();
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,
39 >                        char *fontname);
40 > extern void     xt_puts(char *s, TEXTWIND *t);
41 > extern void     xt_putc(int c, TEXTWIND *t);
42 > extern void     xt_delete(TEXTWIND *t, int r);
43 > extern void     xt_insert(TEXTWIND *t, int r);
44 > extern void     xt_redraw(TEXTWIND *t);
45 > extern void     xt_clear(TEXTWIND *t);
46 > 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