File indexing completed on 2025-01-18 10:15:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #ifndef _SLIDECP_H
0025 #define _SLIDECP_H
0026
0027 #include <Xm/SlideC.h>
0028 #include <X11/IntrinsicP.h>
0029 #include <X11/ObjectP.h>
0030 #include <Xm/XmP.h>
0031
0032 #ifdef __cplusplus
0033 extern "C" {
0034 #endif
0035
0036 #ifndef XmUNSPECIFIED_POSITION
0037 #define XmUNSPECIFIED_POSITION (-1)
0038 #endif
0039
0040 typedef struct {
0041 XtPointer extension;
0042 } XmSlideContextClassPart;
0043
0044 typedef struct _XmSlideContextClassRec {
0045 ObjectClassPart object_class;
0046 XmSlideContextClassPart slide_class;
0047 } XmSlideContextClassRec;
0048
0049 extern XmSlideContextClassRec xmSlideContextClassRec;
0050
0051 typedef struct _XmSlideContextPart {
0052 XtIntervalId id;
0053 XtCallbackList slideFinishCallback;
0054 XtCallbackList slideMotionCallback;
0055 Widget slide_widget;
0056 unsigned long interval;
0057 Dimension dest_width;
0058 Dimension dest_height;
0059 Position dest_x;
0060 Position dest_y;
0061 } XmSlideContextPart;
0062
0063 typedef struct _XmSlideContextRec {
0064 ObjectPart object;
0065 XmSlideContextPart slide;
0066 } XmSlideContextRec;
0067
0068 #define Slide_Id(w) (((XmSlideContextWidget)w)->slide.id)
0069 #define Slide_Widget(w) (((XmSlideContextWidget)w)->slide.slide_widget)
0070 #define Slide_Interval(w) (((XmSlideContextWidget)w)->slide.interval)
0071 #define Slide_DestWidth(w) (((XmSlideContextWidget)w)->slide.dest_width)
0072 #define Slide_DestHeight(w) (((XmSlideContextWidget)w)->slide.dest_height)
0073 #define Slide_DestX(w) (((XmSlideContextWidget)w)->slide.dest_x)
0074 #define Slide_DestY(w) (((XmSlideContextWidget)w)->slide.dest_y)
0075 #define Slide_FinishCallback(w) (((XmSlideContextWidget)w)->slide.slideFinishCallback)
0076 #define Slide_MotionCallback(w) (((XmSlideContextWidget)w)->slide.slideMotionCallback)
0077
0078 #ifdef __cplusplus
0079 }
0080 #endif
0081
0082 #endif