1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 #ifndef _SLIDEC_H
27 #define _SLIDEC_H
28
29 #include <X11/Intrinsic.h>
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35 #ifndef XltIsSlideContext
36 #define XltIsSlideContext(w) XtIsSubclass(w,xltSlideContextClass)
37 #endif
38 #ifndef XltNslideFinishCallback
39 #define XltNslideFinishCallback
"slideFinishCallback"
40 #endif
41 #ifndef XltCSlideFinishCallback
42 #define XltCSlideFinishCallback
"SlideFinishCallback"
43 #endif
44 #ifndef XltNslideMotionCallback
45 #define XltNslideMotionCallback
"slideMotionCallback"
46 #endif
47 #ifndef XltCSlideMotionCallback
48 #define XltCSlideMotionCallback
"SlideMotionCallback"
49 #endif
50 #ifndef XltNslideWidget
51 #define XltNslideWidget
"slideWidget"
52 #endif
53 #ifndef XltCSlideWidget
54 #define XltCSlideWidget
"SlideWidget"
55 #endif
56 #ifndef XltNslideInterval
57 #define XltNslideInterval
"slideInterval"
58 #endif
59 #ifndef XltCSlideInterval
60 #define XltCSlideInterval
"SlideInterval"
61 #endif
62 #ifndef XltNslideDestWidth
63 #define XltNslideDestWidth
"slideDestWidth"
64 #endif
65 #ifndef XltCSlideDestWidth
66 #define XltCSlideDestWidth
"SlideDestWidth"
67 #endif
68 #ifndef XltNslideDestHeight
69 #define XltNslideDestHeight
"slideDestHeight"
70 #endif
71 #ifndef XltCSlideDestHeight
72 #define XltCSlideDestHeight
"SlideDestHeight"
73 #endif
74 #ifndef XltNslideDestX
75 #define XltNslideDestX
"slideDestX"
76 #endif
77 #ifndef XltCSlideDestX
78 #define XltCSlideDestX
"SlideDestX"
79 #endif
80 #ifndef XltNslideDestY
81 #define XltNslideDestY
"slideDestY"
82 #endif
83 #ifndef XltCSlideDestY
84 #define XltCSlideDestY
"SlideDestY"
85 #endif
86
87 extern WidgetClass xltSlideContextWidgetClass;
88
89 typedef struct _XltSlideContextRec *XltSlideContextWidget;
90 typedef struct _XltSlideContextClassRec *XmSlideContextWidgetClass;
91
92 typedef struct _XltSlideStruct {
93 Widget w;
94 XtWidgetGeometry dest;
95 unsigned long interval;
96 XtIntervalId id;
97 } XltSlideStruct, *XltSlidePtr;
98
99 void XltSlide(XltSlidePtr slide_info);
100
101 #ifdef __cplusplus
102 }
103 #endif
104 #endif
105