aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/obm/ObmW/Xraw/ArrowP.h
blob: 818e70bf92cf92a77766f0da95a57db5f13ab616 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef _XawArrowP_h
#define _XawArrowP_h

#include <X11/Xraw/RepeaterP.h>
#include <X11/Xraw/Arrow.h>

#define ARROW(w) ((ArrowWidget) w)->arrow

typedef struct {/* new fields in widget class */
  int dummy;    
} ArrowClassPart;

typedef struct _ArrowClassRec {
  CoreClassPart     core_class;
  SimpleClassPart   simple_class;
  LabelClassPart    label_class;
  CommandClassPart  command_class;
  RepeaterClassPart repeater_class;
  ArrowClassPart    arrow_class;
} ArrowClassRec;

typedef struct {
  /* resources */
  Dimension      arrowShadow;
  XawDrawArrowStruct outline;
  /* private state */
  GC             arrowgc;
  Boolean        set_a2_a3;
} ArrowPart;

typedef struct _ArrowRec {
  CorePart     core;
  SimplePart   simple;
  LabelPart    label;
  CommandPart  command;
  RepeaterPart repeater;
  ArrowPart    arrow;
} ArrowRec;

/*
 * external declarations
 */
extern ArrowClassRec arrowClassRec;

#endif /* _XawArrowP_h */