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 |
|
|
|
27 |
|
|
|
28 |
/* SCO CID (IXI) DropSMgr.h,v 1.1 1996/08/08 14:12:44 wendland Exp */
|
|
|
29 |
|
|
|
30 |
+USE "motif/1_2", "Xm/Xm.h";
|
|
|
31 |
+USE "motif/1_2", "Xm/DragC.h";
|
|
|
32 |
|
|
|
33 |
+CONST int XmCR_DROP_SITE_LEAVE_MESSAGE;
|
|
|
34 |
+CONST int XmCR_DROP_SITE_ENTER_MESSAGE;
|
|
|
35 |
+CONST int XmCR_DROP_SITE_MOTION_MESSAGE;
|
|
|
36 |
+CONST int XmCR_DROP_MESSAGE;
|
|
|
37 |
|
|
|
38 |
+CONST int XmNO_DROP_SITE;
|
|
|
39 |
+CONST int XmINVALID_DROP_SITE;
|
|
|
40 |
+CONST int XmVALID_DROP_SITE;
|
|
|
41 |
|
|
|
42 |
/* begin OSF CR 5754 */
|
|
|
43 |
+CONST int XmDROP_SITE_INVALID;
|
|
|
44 |
+CONST int XmDROP_SITE_VALID;
|
|
|
45 |
/* end CR */
|
|
|
46 |
|
|
|
47 |
+CONST int XmDRAG_UNDER_NONE;
|
|
|
48 |
+CONST int XmDRAG_UNDER_PIXMAP;
|
|
|
49 |
+CONST int XmDRAG_UNDER_SHADOW_IN;
|
|
|
50 |
+CONST int XmDRAG_UNDER_SHADOW_OUT;
|
|
|
51 |
+CONST int XmDRAG_UNDER_HIGHLIGHT;
|
|
|
52 |
|
|
|
53 |
+CONST int XmDROP_SITE_SIMPLE;
|
|
|
54 |
+CONST int XmDROP_SITE_COMPOSITE;
|
|
|
55 |
+CONST int XmDROP_SITE_SIMPLE_CLIP_ONLY;
|
|
|
56 |
+CONST int XmDROP_SITE_COMPOSITE_CLIP_ONLY;
|
|
|
57 |
|
|
|
58 |
+CONST int XmABOVE;
|
|
|
59 |
+CONST int XmBELOW;
|
|
|
60 |
|
|
|
61 |
+CONST int XmDROP_SITE_ACTIVE;
|
|
|
62 |
+CONST int XmDROP_SITE_INACTIVE;
|
|
|
63 |
|
|
|
64 |
+FIELD (struct) _XmDragProcCallbackStruct := {
|
|
|
65 |
|
|
|
66 |
int reason;
|
|
|
67 |
XEvent *event;
|
|
|
68 |
Time timeStamp;
|
|
|
69 |
Widget dragContext;
|
|
|
70 |
Position x;
|
|
|
71 |
Position y;
|
|
|
72 |
unsigned char dropSiteStatus;
|
|
|
73 |
unsigned char operation;
|
|
|
74 |
unsigned char operations;
|
|
|
75 |
Boolean animate;
|
|
|
76 |
};
|
|
|
77 |
|
|
|
78 |
+TYPEDEF _XmDragProcCallbackStruct XmDragProcCallbackStruct;
|
|
|
79 |
+TYPEDEF _XmDragProcCallbackStruct *XmDragProcCallback;
|
|
|
80 |
|
|
|
81 |
+FIELD (struct) _XmDropProcCallbackStruct := {
|
|
|
82 |
|
|
|
83 |
int reason;
|
|
|
84 |
XEvent *event;
|
|
|
85 |
Time timeStamp;
|
|
|
86 |
Widget dragContext;
|
|
|
87 |
Position x;
|
|
|
88 |
Position y;
|
|
|
89 |
unsigned char dropSiteStatus;
|
|
|
90 |
unsigned char operation;
|
|
|
91 |
unsigned char operations;
|
|
|
92 |
unsigned char dropAction;
|
|
|
93 |
};
|
|
|
94 |
|
|
|
95 |
+TYPEDEF _XmDropProcCallbackStruct XmDropProcCallbackStruct;
|
|
|
96 |
+TYPEDEF _XmDropProcCallbackStruct *XmDropProcCallback;
|
|
|
97 |
|
|
|
98 |
+FIELD (struct) _XmDropSiteVisualsRec := {
|
|
|
99 |
|
|
|
100 |
Pixel background;
|
|
|
101 |
Pixel foreground;
|
|
|
102 |
Pixel topShadowColor;
|
|
|
103 |
Pixmap topShadowPixmap;
|
|
|
104 |
Pixel bottomShadowColor;
|
|
|
105 |
Pixmap bottomShadowPixmap;
|
|
|
106 |
Dimension shadowThickness;
|
|
|
107 |
Pixel highlightColor;
|
|
|
108 |
Pixmap highlightPixmap;
|
|
|
109 |
Dimension highlightThickness;
|
|
|
110 |
Dimension borderWidth;
|
|
|
111 |
};
|
|
|
112 |
|
|
|
113 |
+TYPEDEF _XmDropSiteVisualsRec XmDropSiteVisualsRec;
|
|
|
114 |
+TYPEDEF _XmDropSiteVisualsRec *XmDropSiteVisuals;
|
|
|
115 |
|
|
|
116 |
+EXP lvalue WidgetClass xmDropSiteManagerObjectClass;
|
|
|
117 |
|
|
|
118 |
+TYPE (struct) _XmDropSiteManagerClassRec;
|
|
|
119 |
+TYPE (struct) _XmDropSiteManagerRec;
|
|
|
120 |
+TYPEDEF _XmDropSiteManagerClassRec *XmDropSiteManagerObjectClass;
|
|
|
121 |
+TYPEDEF _XmDropSiteManagerRec *XmDropSiteManagerObject;
|
|
|
122 |
|
|
|
123 |
+FUNC void XmDropSiteRegister(Widget, ArgList, Cardinal);
|
|
|
124 |
+FUNC void XmDropSiteUnregister(Widget);
|
|
|
125 |
+FUNC void XmDropSiteStartUpdate(Widget);
|
|
|
126 |
+FUNC void XmDropSiteUpdate(Widget, ArgList, Cardinal);
|
|
|
127 |
+FUNC void XmDropSiteEndUpdate(Widget);
|
|
|
128 |
+FUNC void XmDropSiteRetrieve(Widget, ArgList, Cardinal);
|
|
|
129 |
+FUNC int XmDropSiteQueryStackingOrder(Widget, Widget *, Widget **, Cardinal *);
|
|
|
130 |
+FUNC void XmDropSiteConfigureStackingOrder(Widget, Widget, Cardinal);
|
|
|
131 |
+FUNC XmDropSiteVisuals XmDropSiteGetActiveVisuals(Widget);
|
|
|
132 |
|
|
|
133 |
|