Back to index

plt-scheme  4.2.1
xwSlider2P.h
Go to the documentation of this file.
00001 /* Generated by wbuild
00002  * (generator version 3.2)
00003  */
00004 #ifndef ___XWSLIDER2P_H
00005 #define ___XWSLIDER2P_H
00006 #include <./xwLabelP.h>
00007 #include <./xwSlider2.h>
00008 _XFUNCPROTOBEGIN
00009 typedef void (*compute_thumb_Proc)(
00010 #if NeedFunctionPrototypes
00011 Widget,Position *,Position *,Dimension *,Dimension *
00012 #endif
00013 );
00014 #define XtInherit_compute_thumb ((compute_thumb_Proc) _XtInherit)
00015 typedef void (*move_thumb_Proc)(
00016 #if NeedFunctionPrototypes
00017 Widget,int ,int ,int ,int ,int ,int 
00018 #endif
00019 );
00020 #define XtInherit_move_thumb ((move_thumb_Proc) _XtInherit)
00021 typedef void (*compute_info_Proc)(
00022 #if NeedFunctionPrototypes
00023 Widget,Position *,Position *,Dimension *,Dimension *,float *,float *,float *,float *
00024 #endif
00025 );
00026 #define XtInherit_compute_info ((compute_info_Proc) _XtInherit)
00027 typedef void (*scroll_response_Proc)(
00028 #if NeedFunctionPrototypes
00029 Widget ,XtPointer ,XtPointer 
00030 #endif
00031 );
00032 #define XtInherit_scroll_response ((scroll_response_Proc) _XtInherit)
00033 
00034 typedef struct {
00035 /* methods */
00036 compute_thumb_Proc compute_thumb;
00037 move_thumb_Proc move_thumb;
00038 compute_info_Proc compute_info;
00039 scroll_response_Proc scroll_response;
00040 /* class variables */
00041 } XfwfSlider2ClassPart;
00042 
00043 typedef struct _XfwfSlider2ClassRec {
00044 CoreClassPart core_class;
00045 CompositeClassPart composite_class;
00046 XfwfCommonClassPart xfwfCommon_class;
00047 XfwfFrameClassPart xfwfFrame_class;
00048 XfwfBoardClassPart xfwfBoard_class;
00049 XfwfLabelClassPart xfwfLabel_class;
00050 XfwfSlider2ClassPart xfwfSlider2_class;
00051 } XfwfSlider2ClassRec;
00052 
00053 typedef struct {
00054 /* resources */
00055 Pixel  thumbColor;
00056 Pixmap  thumbPixmap;
00057 Dimension  minsize;
00058 Dimension  thumbFrameWidth;
00059 FrameType  thumbFrameType;
00060 XtCallbackList  scrollCallback;
00061 XtCallbackProc  scrollResponse;
00062 /* private state */
00063 float  thumb_x;
00064 float  thumb_y;
00065 float  thumb_wd;
00066 float  thumb_ht;
00067 Boolean  drag_in_progress;
00068 int  m_delta_x;
00069 int  m_delta_y;
00070 GC  thumbgc;
00071 GC  thumblightgc;
00072 GC  thumbdarkgc;
00073 } XfwfSlider2Part;
00074 
00075 typedef struct _XfwfSlider2Rec {
00076 CorePart core;
00077 CompositePart composite;
00078 XfwfCommonPart xfwfCommon;
00079 XfwfFramePart xfwfFrame;
00080 XfwfBoardPart xfwfBoard;
00081 XfwfLabelPart xfwfLabel;
00082 XfwfSlider2Part xfwfSlider2;
00083 } XfwfSlider2Rec;
00084 
00085 externalref XfwfSlider2ClassRec xfwfSlider2ClassRec;
00086 
00087 _XFUNCPROTOEND
00088 #endif /* ___XWSLIDER2P_H */