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
/* SCO CID (IXI) ScrollBarP.h,v 1.1 1996/08/08 14:13:25 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/ScrollBar.h";
35
+USE "motif/1_2", "Xm/PrimitiveP.h";
36
 
37
+CONST int MIN_SLIDER_THICKNESS;
38
+CONST int MIN_SLIDER_LENGTH;
39
 
40
+FIELD (struct) _XmScrollBarClassPart := {
41
 
42
   int foo;
43
};
44
 
45
+TYPEDEF _XmScrollBarClassPart XmScrollBarClassPart;
46
 
47
+FIELD (struct) _XmScrollBarClassRec := {
48
 
49
   CoreClassPart        core_class;
50
   XmPrimitiveClassPart primitive_class;
51
   XmScrollBarClassPart scrollBar_class;
52
};
53
 
54
+TYPEDEF _XmScrollBarClassRec XmScrollBarClassRec;
55
 
56
+EXP lvalue XmScrollBarClassRec xmScrollBarClassRec;
57
 
58
+FIELD (struct) _XmScrollBarPart := {
59
 
60
   int 			value;
61
   int 			minimum;
62
   int 			maximum;
63
   int 			slider_size;
64
 
65
   unsigned char 	orientation;
66
   unsigned char 	processing_direction;
67
   Boolean 		show_arrows;
68
 
69
   int 			increment;
70
   int 			page_increment;
71
 
72
   int 			initial_delay;
73
   int 			repeat_delay;
74
 
75
   XtCallbackList 	value_changed_callback;
76
   XtCallbackList 	increment_callback;
77
   XtCallbackList 	decrement_callback;
78
   XtCallbackList 	page_increment_callback;
79
   XtCallbackList 	page_decrement_callback;
80
   XtCallbackList 	to_top_callback;
81
   XtCallbackList 	to_bottom_callback;
82
   XtCallbackList 	drag_callback;
83
 
84
   GC 			unhighlight_GC;
85
 
86
   GC 			foreground_GC;
87
   Pixel 		trough_color;
88
 
89
   Drawable 		pixmap;
90
   Boolean  		sliding_on;
91
   Boolean  		etched_slider;
92
   int 			saved_value;
93
 
94
   unsigned char 	flags;
95
 
96
   unsigned char 	change_type;
97
   XtIntervalId 	timer;
98
 
99
   short 		initial_x;
100
   short 		initial_y;
101
   short 		separation_x;
102
   short 		separation_y;
103
 
104
   short 		slider_x;
105
   short 		slider_y;
106
   short 		slider_width;
107
   short 		slider_height;
108
 
109
   short 		slider_area_x;
110
   short 		slider_area_y;
111
   short 		slider_area_width;
112
   short 		slider_area_height;
113
 
114
   short 		arrow1_x;
115
   short 		arrow1_y;
116
   unsigned char 	arrow1_orientation;
117
   Boolean 		arrow1_selected;
118
 
119
   short 		arrow2_x;
120
   short 		arrow2_y;
121
   unsigned char 	arrow2_orientation;
122
   Boolean 		arrow2_selected;
123
 
124
   short 		arrow_width;
125
   short 		arrow_height;
126
 
127
   short 		arrow1_top_count;
128
   short 		arrow1_cent_count;
129
   short 		arrow1_bot_count;
130
 
131
   XRectangle 		* arrow1_top;
132
   XRectangle 		* arrow1_cent;
133
   XRectangle 		* arrow1_bot;
134
 
135
   short 		arrow2_top_count;
136
   short 		arrow2_cent_count;
137
   short 		arrow2_bot_count;
138
 
139
   XRectangle 		* arrow2_top;
140
   XRectangle 		* arrow2_cent;
141
   XRectangle 		* arrow2_bot;
142
 
143
   GC			unavailable_GC;
144
};
145
 
146
+TYPEDEF _XmScrollBarPart XmScrollBarPart;
147
 
148
 
149
+FIELD (struct) _XmScrollBarRec := {
150
 
151
   CorePart	   core;
152
   XmPrimitivePart primitive;
153
   XmScrollBarPart scrollBar;
154
};
155
 
156
+TYPEDEF _XmScrollBarRec XmScrollBarRec;
157
 
158
+FUNC void _XmSetEtchedSlider(XmScrollBarWidget sbw) ;
159