Revision 12350,
1.1 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: Arrow.h,v 1.2 1999-01-22 23:16:47 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_Arrow_h |
---|
12 | #define _Xj_Arrow_h |
---|
13 | |
---|
14 | #include "Jets.h" |
---|
15 | |
---|
16 | extern JetClass arrowJetClass; |
---|
17 | extern void setDirection(); |
---|
18 | |
---|
19 | typedef struct {int littlefoo;} ArrowClassPart; |
---|
20 | |
---|
21 | typedef struct _ArrowClassRec { |
---|
22 | CoreClassPart core_class; |
---|
23 | ArrowClassPart arrow_class; |
---|
24 | } ArrowClassRec; |
---|
25 | |
---|
26 | extern ArrowClassRec arrowClassRec; |
---|
27 | |
---|
28 | typedef struct _ArrowPart { |
---|
29 | int foreground, background, fillColor; |
---|
30 | Boolean reverseVideo; |
---|
31 | int direction; |
---|
32 | int x, y; |
---|
33 | GC gc, gc_reverse, gc_fill; |
---|
34 | int padding; |
---|
35 | XPoint pt[11]; |
---|
36 | short num_pts; |
---|
37 | XjCallback *highlightProc; |
---|
38 | XjCallback *unHighlightProc; |
---|
39 | } ArrowPart; |
---|
40 | |
---|
41 | typedef struct _ArrowRec { |
---|
42 | CorePart core; |
---|
43 | ArrowPart arrow; |
---|
44 | } ArrowRec; |
---|
45 | |
---|
46 | typedef struct _ArrowRec *ArrowJet; |
---|
47 | typedef struct _ArrowClassRec *ArrowJetClass; |
---|
48 | |
---|
49 | #define XjCArrow "Arrow" |
---|
50 | #define XjNarrow "arrow" |
---|
51 | |
---|
52 | #define XjCDirection "Direction" |
---|
53 | #define XjNdirection "direction" |
---|
54 | #define XjNfillColor "fillColor" |
---|
55 | |
---|
56 | #endif /* _Xj_Arrow_h */ |
---|
Note: See
TracBrowser
for help on using the repository browser.