2 |
7u83 |
1 |
/*
|
|
|
2 |
COPYRIGHT NOTICE
|
|
|
3 |
|
|
|
4 |
This program is the proprietary property of IXI Ltd, a subsidiary
|
|
|
5 |
of the Santa Cruz Operation (SCO). Use, reproduction, production
|
|
|
6 |
of amended versions and/or transfer of this program is permitted
|
|
|
7 |
PROVIDED THAT:
|
|
|
8 |
|
|
|
9 |
(a) This legend be preserved on any such reproduction and amended
|
|
|
10 |
version.
|
|
|
11 |
|
|
|
12 |
(b) Any recipient of such reproduction or amended version accept
|
|
|
13 |
the conditions set out in this legend.
|
|
|
14 |
|
|
|
15 |
IXI accepts no liability whatsoever in relation to any use to
|
|
|
16 |
which this program may be put and gives no warranty as to the
|
|
|
17 |
program's suitability for any purpose.
|
|
|
18 |
|
|
|
19 |
All rights reserved.
|
|
|
20 |
|
|
|
21 |
Copyright (c) 1995, 1996
|
|
|
22 |
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
/* SCO CID (IXI) ArrowBGP.h,v 1.1 1996/08/08 14:12:11 wendland Exp */
|
|
|
27 |
|
|
|
28 |
%%
|
|
|
29 |
#ifndef __MOTIF_P_HEADERS
|
|
|
30 |
#error Unexpected access to Motif Private Headers
|
|
|
31 |
#endif
|
|
|
32 |
%%
|
|
|
33 |
|
|
|
34 |
+USE "motif/1_2", "Xm/GadgetP.h";
|
|
|
35 |
+USE "motif/1_2", "Xm/ArrowBG.h";
|
|
|
36 |
|
|
|
37 |
+FIELD (struct) _XmArrowButtonGadgetClassPart := {
|
|
|
38 |
XtPointer extension;
|
|
|
39 |
};
|
|
|
40 |
|
|
|
41 |
+TYPEDEF _XmArrowButtonGadgetClassPart XmArrowButtonGadgetClassPart;
|
|
|
42 |
|
|
|
43 |
+FIELD (struct) _XmArrowButtonGadgetClassRec := {
|
|
|
44 |
RectObjClassPart rect_class;
|
|
|
45 |
XmGadgetClassPart gadget_class;
|
|
|
46 |
XmArrowButtonGadgetClassPart arrow_button_class;
|
|
|
47 |
};
|
|
|
48 |
|
|
|
49 |
+TYPEDEF _XmArrowButtonGadgetClassRec XmArrowButtonGadgetClassRec;
|
|
|
50 |
|
|
|
51 |
+EXP lvalue XmArrowButtonGadgetClassRec xmArrowButtonGadgetClassRec;
|
|
|
52 |
|
|
|
53 |
+FIELD (struct) _XmArrowButtonGadgetPart := {
|
|
|
54 |
|
|
|
55 |
XtCallbackList activate_callback;
|
|
|
56 |
XtCallbackList arm_callback;
|
|
|
57 |
XtCallbackList disarm_callback;
|
|
|
58 |
unsigned char direction;
|
|
|
59 |
|
|
|
60 |
Boolean selected;
|
|
|
61 |
|
|
|
62 |
short top_count;
|
|
|
63 |
short cent_count;
|
|
|
64 |
short bot_count;
|
|
|
65 |
XRectangle *top;
|
|
|
66 |
XRectangle *cent;
|
|
|
67 |
XRectangle *bot;
|
|
|
68 |
|
|
|
69 |
Position old_x;
|
|
|
70 |
Position old_y;
|
|
|
71 |
|
|
|
72 |
GC arrow_GC;
|
|
|
73 |
XtIntervalId timer;
|
|
|
74 |
|
|
|
75 |
unsigned char multiClick;
|
|
|
76 |
|
|
|
77 |
int click_count;
|
|
|
78 |
GC insensitive_GC;
|
|
|
79 |
};
|
|
|
80 |
|
|
|
81 |
+TYPEDEF _XmArrowButtonGadgetPart XmArrowButtonGadgetPart;
|
|
|
82 |
|
|
|
83 |
+FIELD (struct) _XmArrowButtonGadgetRec := {
|
|
|
84 |
|
|
|
85 |
ObjectPart object;
|
|
|
86 |
RectObjPart rectangle;
|
|
|
87 |
XmGadgetPart gadget;
|
|
|
88 |
XmArrowButtonGadgetPart arrowbutton;
|
|
|
89 |
};
|
|
|
90 |
|
|
|
91 |
+TYPEDEF _XmArrowButtonGadgetRec XmArrowButtonGadgetRec;
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|