/* * $Id: Arrow.h,v 1.2 1999-01-22 23:16:47 ghudson Exp $ * * Copyright 1990, 1991 by the Massachusetts Institute of Technology. * * For copying and distribution information, please see the file * . * */ #ifndef _Xj_Arrow_h #define _Xj_Arrow_h #include "Jets.h" extern JetClass arrowJetClass; extern void setDirection(); typedef struct {int littlefoo;} ArrowClassPart; typedef struct _ArrowClassRec { CoreClassPart core_class; ArrowClassPart arrow_class; } ArrowClassRec; extern ArrowClassRec arrowClassRec; typedef struct _ArrowPart { int foreground, background, fillColor; Boolean reverseVideo; int direction; int x, y; GC gc, gc_reverse, gc_fill; int padding; XPoint pt[11]; short num_pts; XjCallback *highlightProc; XjCallback *unHighlightProc; } ArrowPart; typedef struct _ArrowRec { CorePart core; ArrowPart arrow; } ArrowRec; typedef struct _ArrowRec *ArrowJet; typedef struct _ArrowClassRec *ArrowJetClass; #define XjCArrow "Arrow" #define XjNarrow "arrow" #define XjCDirection "Direction" #define XjNdirection "direction" #define XjNfillColor "fillColor" #endif /* _Xj_Arrow_h */