Revision 12350,
1.4 KB
checked in by ghudson, 26 years ago
(diff) |
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Drawing.h,v 1.2 1999-01-22 23:16:51 ghudson Exp $ |
---|
3 | * |
---|
4 | * Copyright 1990, 1991 by the Massachusetts Institute of Technology. |
---|
5 | * |
---|
6 | * For copying and distribution information, please see the file |
---|
7 | * <mit-copyright.h>. |
---|
8 | * |
---|
9 | */ |
---|
10 | |
---|
11 | #ifndef _Xj_Drawing_h |
---|
12 | #define _Xj_Drawing_h |
---|
13 | |
---|
14 | #include "Jets.h" |
---|
15 | |
---|
16 | extern JetClass drawingJetClass; |
---|
17 | |
---|
18 | typedef struct {int littlefoo;} DrawingClassPart; |
---|
19 | |
---|
20 | typedef struct _DrawingClassRec { |
---|
21 | CoreClassPart core_class; |
---|
22 | DrawingClassPart drawing_class; |
---|
23 | } DrawingClassRec; |
---|
24 | |
---|
25 | extern DrawingClassRec drawingClassRec; |
---|
26 | |
---|
27 | typedef struct { |
---|
28 | XjCallback *exposeProc; |
---|
29 | XjCallback *realizeProc; |
---|
30 | XjCallback *resizeProc; |
---|
31 | XjCallback *destroyProc; |
---|
32 | XjCallback *eventProc; |
---|
33 | GC foreground_gc; |
---|
34 | GC background_gc; |
---|
35 | GC invert_gc; |
---|
36 | int foreground, background; |
---|
37 | Boolean reverseVideo; |
---|
38 | int lineWidth; |
---|
39 | XFontStruct *font; |
---|
40 | } DrawingPart; |
---|
41 | |
---|
42 | typedef struct _DrawingRec { |
---|
43 | CorePart core; |
---|
44 | DrawingPart drawing; |
---|
45 | } DrawingRec; |
---|
46 | |
---|
47 | typedef struct _DrawingRec *DrawingJet; |
---|
48 | typedef struct _DrawingClassRec *DrawingJetClass; |
---|
49 | |
---|
50 | #define XjCExposeProc "ExposeProc" |
---|
51 | #define XjNexposeProc "exposeProc" |
---|
52 | #define XjCRealizeProc "RealizeProc" |
---|
53 | #define XjNrealizeProc "realizeProc" |
---|
54 | #define XjCResizeProc "ResizeProc" |
---|
55 | #define XjNresizeProc "resizeProc" |
---|
56 | #define XjCDestroyProc "DestroyProc" |
---|
57 | #define XjNdestroyProc "destroyProc" |
---|
58 | #define XjCEventProc "EventProc" |
---|
59 | #define XjNeventProc "eventProc" |
---|
60 | #define XjCLineWidth "LineWidth" |
---|
61 | #define XjNlineWidth "lineWidth" |
---|
62 | |
---|
63 | #endif /* _Xj_Drawing_h */ |
---|
Note: See
TracBrowser
for help on using the repository browser.