Back to index

plt-scheme  4.2.1
xwScrollbarP.h
Go to the documentation of this file.
00001 /* Generated by wbuild
00002  * (generator version 3.2)
00003  */
00004 #ifndef ___XWSCROLLBARP_H
00005 #define ___XWSCROLLBARP_H
00006 #include <./xwBoardP.h>
00007 #include <./xwScrollbar.h>
00008 _XFUNCPROTOBEGIN
00009 typedef void (*scroll_response_Proc)(
00010 #if NeedFunctionPrototypes
00011 Widget ,XtPointer ,XtPointer 
00012 #endif
00013 );
00014 #define XtInherit_scroll_response ((scroll_response_Proc) _XtInherit)
00015 
00016 typedef struct {
00017 /* methods */
00018 scroll_response_Proc scroll_response;
00019 /* class variables */
00020 } XfwfScrollbarClassPart;
00021 
00022 typedef struct _XfwfScrollbarClassRec {
00023 CoreClassPart core_class;
00024 CompositeClassPart composite_class;
00025 XfwfCommonClassPart xfwfCommon_class;
00026 XfwfFrameClassPart xfwfFrame_class;
00027 XfwfBoardClassPart xfwfBoard_class;
00028 XfwfScrollbarClassPart xfwfScrollbar_class;
00029 } XfwfScrollbarClassRec;
00030 
00031 typedef struct {
00032 /* resources */
00033 Boolean  vertical;
00034 XtCallbackList  scrollCallback;
00035 XtCallbackProc  scrollResponse;
00036 Cardinal  initialDelay;
00037 Cardinal  repeatDelay;
00038 float  increment;
00039 Pixel  scrollbarForeground;
00040 Dimension  shadow;
00041 Dimension  minsize;
00042 Boolean  drawgrayScrollbar;
00043 Boolean  egdeBar;
00044 /* private state */
00045 Widget  arrow1;
00046 Widget  arrow2;
00047 Widget  slider;
00048 Boolean  initializing;
00049 XtCallbackProc  slider_scroll;
00050 } XfwfScrollbarPart;
00051 
00052 typedef struct _XfwfScrollbarRec {
00053 CorePart core;
00054 CompositePart composite;
00055 XfwfCommonPart xfwfCommon;
00056 XfwfFramePart xfwfFrame;
00057 XfwfBoardPart xfwfBoard;
00058 XfwfScrollbarPart xfwfScrollbar;
00059 } XfwfScrollbarRec;
00060 
00061 externalref XfwfScrollbarClassRec xfwfScrollbarClassRec;
00062 
00063 _XFUNCPROTOEND
00064 #endif /* ___XWSCROLLBARP_H */