Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
/* SCO CID (IXI) DisplayP.h,v 1.1 1996/08/08 14:12:32 wendland Exp */
28
 
29
%%
30
#ifndef __MOTIF_P_HEADERS
31
#error Unexpected access to Motif P headers
32
#endif
33
%%
34
 
35
+USE "motif/1_2", "Xm/DesktopP.h";
36
+USE "motif/1_2", "Xm/VendorSEP.h";
37
+USE "motif/1_2", "Xm/DropSMgr.h";
38
+USE "motif/1_2", "Xm/Display.h";
39
+USE "motif/1_2", "Xm/ScreenP.h";
40
 
41
+USE "motif/1_2", "Xm/DragCP.h";
42
+USE "motif/1_2", "Xm/VirtKeysP.h";
43
 
44
+TYPEDEF Widget (*XmDisplayGetDisplayProc)(Display *);
45
 
46
+FIELD (struct) XmDisplayClassPart := { 
47
 
48
	XmDisplayGetDisplayProc	GetDisplay;
49
	XtPointer		extension;
50
 
51
};
52
 
53
 
54
+FIELD (struct) _XmDisplayClassRec := { 
55
 
56
	CoreClassPart			core_class;
57
	CompositeClassPart		composite_class;
58
	ShellClassPart			shell_class;
59
	WMShellClassPart		wm_shell_class;
60
	VendorShellClassPart		vendor_shell_class;
61
	TopLevelShellClassPart		top_level_shell_class;
62
	ApplicationShellClassPart	application_shell_class;
63
	XmDisplayClassPart		display_class;
64
};
65
 
66
+TYPEDEF _XmDisplayClassRec XmDisplayClassRec;
67
 
68
+FIELD (struct) _XmModalDataRec := { 
69
 
70
	Widget				wid;
71
	XmVendorShellExtObject		ve;
72
	XmVendorShellExtObject		grabber;
73
	Boolean				exclusive;
74
	Boolean				springLoaded;
75
};
76
 
77
+TYPEDEF _XmModalDataRec XmModalDataRec;
78
+TYPEDEF _XmModalDataRec *XmModalData;
79
 
80
+FIELD (struct) XmDisplayPart := { 
81
 
82
	unsigned char			dragInitiatorProtocolStyle;
83
	unsigned char			dragReceiverProtocolStyle;
84
	unsigned char			userGrabbed;
85
	WidgetClass			dragContextClass;
86
	WidgetClass			dropTransferClass;
87
	WidgetClass			dropSiteManagerClass;
88
	XmDragContext			activeDC;
89
	XmDropSiteManagerObject		dsm;
90
	Time				lastDragTime;
91
	Window				proxyWindow;
92
 
93
	XmModalData			modals;
94
	Cardinal			numModals;
95
	Cardinal			maxModals;
96
	XtPointer			xmim_info;
97
 
98
	String				bindingsString;
99
	XmKeyBindingRec			*bindings;
100
	XKeyEvent			*lastKeyEvent;
101
	unsigned char			keycode_tag[XmKEYCODE_TAG_SIZE];
102
 
103
	int				shellCount;
104
	XtPointer			displayInfo;
105
};
106
 
107
+TYPEDEF XmDisplayPart *XmDisplayPartPtr;
108
 
109
+FIELD (struct) _XmDisplayInfo := { 
110
 
111
	Cursor		SashCursor;
112
	Widget		destinationWidget;
113
	Cursor		TearOffCursor;
114
	XtPointer	UniqueStamp;
115
	XtPointer	keypad_info;
116
	XtPointer	mod_info;
117
};
118
 
119
+TYPEDEF _XmDisplayInfo XmDisplayInfo;
120
 
121
 
122
+FIELD (struct) _XmDisplayRec := { 
123
 
124
	CorePart		core;
125
	CompositePart		composite;
126
	ShellPart		shell;
127
	WMShellPart		wm;
128
	VendorShellPart		vendor;
129
	TopLevelShellPart	topLevel;
130
	ApplicationShellPart	application;
131
	XmDisplayPart		display;
132
};
133
 
134
+TYPEDEF _XmDisplayRec XmDisplayRec;
135
 
136
+EXP lvalue XmDisplayClassRec xmDisplayClassRec;
137
 
138
+CONST String _Xm_MOTIF_DRAG_AND_DROP_MESSAGE;
139
 
140
 
141
+FUNC XmDropSiteManagerObject _XmGetDropSiteManagerObject(XmDisplay);
142
+FUNC unsigned char _XmGetDragProtocolStyle(Widget);
143
+FUNC unsigned char _XmGetDragTrackingMode(Widget);
144
+FUNC Widget _XmGetDragContextFromHandle(Widget, Atom);
145
 
146
+FUNC WidgetClass _XmGetXmDisplayClass(void);
147
+FUNC WidgetClass _XmSetXmDisplayClass(WidgetClass);
148
 
149
 
150