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) ToggleBP.h,v 1.1 1996/08/08 14:13:49 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/ToggleB.h";
|
|
|
36 |
+USE "motif/1_2", "Xm/LabelP.h";
|
|
|
37 |
|
|
|
38 |
+FIELD (struct) _XmToggleButtonClassPart := {
|
|
|
39 |
|
|
|
40 |
XtPointer extension;
|
|
|
41 |
};
|
|
|
42 |
|
|
|
43 |
+TYPEDEF _XmToggleButtonClassPart XmToggleButtonClassPart;
|
|
|
44 |
|
|
|
45 |
+FIELD (struct) _XmToggleButtonClassRec := {
|
|
|
46 |
|
|
|
47 |
CoreClassPart core_class;
|
|
|
48 |
XmPrimitiveClassPart primitive_class;
|
|
|
49 |
XmLabelClassPart label_class;
|
|
|
50 |
XmToggleButtonClassPart toggle_class;
|
|
|
51 |
};
|
|
|
52 |
|
|
|
53 |
+TYPEDEF _XmToggleButtonClassRec XmToggleButtonClassRec;
|
|
|
54 |
|
|
|
55 |
+EXP lvalue XmToggleButtonClassRec xmToggleButtonClassRec;
|
|
|
56 |
|
|
|
57 |
+FIELD (struct) _XmToggleButtonPart := {
|
|
|
58 |
|
|
|
59 |
unsigned char ind_type;
|
|
|
60 |
Boolean visible;
|
|
|
61 |
Dimension spacing;
|
|
|
62 |
Dimension indicator_dim;
|
|
|
63 |
Boolean indicator_set;
|
|
|
64 |
Pixmap on_pixmap;
|
|
|
65 |
Pixmap insen_pixmap;
|
|
|
66 |
Boolean set;
|
|
|
67 |
Boolean visual_set;
|
|
|
68 |
Boolean ind_on;
|
|
|
69 |
Boolean fill_on_select;
|
|
|
70 |
Pixel select_color;
|
|
|
71 |
GC select_GC;
|
|
|
72 |
GC background_gc;
|
|
|
73 |
XtCallbackList value_changed_CB;
|
|
|
74 |
XtCallbackList arm_CB;
|
|
|
75 |
XtCallbackList disarm_CB;
|
|
|
76 |
Boolean Armed;
|
|
|
77 |
};
|
|
|
78 |
|
|
|
79 |
+TYPEDEF _XmToggleButtonPart XmToggleButtonPart;
|
|
|
80 |
|
|
|
81 |
+FIELD (struct) _XmToggleButtonRec := {
|
|
|
82 |
|
|
|
83 |
CorePart core;
|
|
|
84 |
XmPrimitivePart primitive;
|
|
|
85 |
XmLabelPart label;
|
|
|
86 |
XmToggleButtonPart toggle;
|
|
|
87 |
};
|
|
|
88 |
|
|
|
89 |
+TYPEDEF _XmToggleButtonRec XmToggleButtonRec;
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|