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) ScrolledWP.h,v 1.1 1996/08/08 14:13:27 wendland Exp */
|
|
|
27 |
|
|
|
28 |
%%
|
|
|
29 |
#ifndef __MOTIF_P_HEADERS
|
|
|
30 |
#error Unexpected access to Motif P headers
|
|
|
31 |
#endif
|
|
|
32 |
%%
|
|
|
33 |
|
|
|
34 |
+USE "motif/1_2", "Xm/ManagerP.h";
|
|
|
35 |
+USE "motif/1_2", "Xm/ScrolledW.h";
|
|
|
36 |
+USE "motif/1_2", "Xm/ScrollBar.h";
|
|
|
37 |
+USE "motif/1_2", "Xm/DrawingA.h";
|
|
|
38 |
|
|
|
39 |
+FIELD (struct) _XmScrolledWindowConstraintPart := {
|
|
|
40 |
|
|
|
41 |
unsigned char child_type;
|
|
|
42 |
};
|
|
|
43 |
|
|
|
44 |
+TYPEDEF _XmScrolledWindowConstraintPart XmScrolledWindowConstraintPart;
|
|
|
45 |
+TYPEDEF _XmScrolledWindowConstraintPart * XmScrolledWindowConstraint;
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
+FIELD (struct) XmScrolledWindowClassPart:= {
|
|
|
49 |
|
|
|
50 |
XtPointer extension;
|
|
|
51 |
};
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
+FIELD (struct) _XmScrolledWindowClassRec := {
|
|
|
55 |
|
|
|
56 |
CoreClassPart core_class;
|
|
|
57 |
CompositeClassPart composite_class;
|
|
|
58 |
ConstraintClassPart constraint_class;
|
|
|
59 |
XmManagerClassPart manager_class;
|
|
|
60 |
XmScrolledWindowClassPart swindow_class;
|
|
|
61 |
};
|
|
|
62 |
|
|
|
63 |
+TYPEDEF _XmScrolledWindowClassRec XmScrolledWindowClassRec;
|
|
|
64 |
|
|
|
65 |
+EXP lvalue XmScrolledWindowClassRec xmScrolledWindowClassRec;
|
|
|
66 |
|
|
|
67 |
+FIELD (struct) XmScrolledWindowPart := {
|
|
|
68 |
|
|
|
69 |
int vmin;
|
|
|
70 |
int vmax;
|
|
|
71 |
int vOrigin;
|
|
|
72 |
int vExtent;
|
|
|
73 |
|
|
|
74 |
int hmin;
|
|
|
75 |
int hmax;
|
|
|
76 |
int hOrigin;
|
|
|
77 |
int hExtent;
|
|
|
78 |
|
|
|
79 |
Position hsbX,hsbY;
|
|
|
80 |
Dimension hsbWidth,hsbHeight;
|
|
|
81 |
|
|
|
82 |
Position vsbX,vsbY;
|
|
|
83 |
Dimension vsbWidth,vsbHeight;
|
|
|
84 |
|
|
|
85 |
Dimension GivenHeight, GivenWidth;
|
|
|
86 |
|
|
|
87 |
Dimension AreaWidth,AreaHeight;
|
|
|
88 |
Dimension WidthPad,HeightPad;
|
|
|
89 |
Position XOffset, YOffset;
|
|
|
90 |
|
|
|
91 |
Dimension pad;
|
|
|
92 |
|
|
|
93 |
Boolean hasHSB;
|
|
|
94 |
Boolean hasVSB;
|
|
|
95 |
Boolean InInit;
|
|
|
96 |
Boolean FromResize;
|
|
|
97 |
|
|
|
98 |
unsigned char VisualPolicy;
|
|
|
99 |
unsigned char ScrollPolicy;
|
|
|
100 |
unsigned char ScrollBarPolicy;
|
|
|
101 |
unsigned char Placement;
|
|
|
102 |
|
|
|
103 |
XmScrollBarWidget hScrollBar;
|
|
|
104 |
XmScrollBarWidget vScrollBar;
|
|
|
105 |
XmDrawingAreaWidget ClipWindow;
|
|
|
106 |
Widget WorkWindow;
|
|
|
107 |
|
|
|
108 |
XtCallbackList traverseObscuredCallback;
|
|
|
109 |
};
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
+FIELD (struct) _XmScrolledWindowRec := {
|
|
|
113 |
|
|
|
114 |
CorePart core;
|
|
|
115 |
CompositePart composite;
|
|
|
116 |
ConstraintPart constraint;
|
|
|
117 |
XmManagerPart manager;
|
|
|
118 |
XmScrolledWindowPart swindow;
|
|
|
119 |
};
|
|
|
120 |
|
|
|
121 |
+TYPEDEF _XmScrolledWindowRec XmScrolledWindowRec;
|
|
|
122 |
|
|
|
123 |
+CONST int DEFAULT_HEIGHT;
|
|
|
124 |
+CONST int DEFAULT_WIDTH;
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
+FUNC char * _XmGetRealXlations(Display *dpy, _XmBuildVirtualKeyStruct *keys,
|
|
|
128 |
int num_keys) ;
|
|
|
129 |
+FUNC void _XmInitializeScrollBars(Widget w) ;
|