Back to index

plt-scheme  4.2.1
xwCommonP.h
Go to the documentation of this file.
00001 /* Generated by wbuild
00002  * (generator version 3.2)
00003  */
00004 #ifndef ___XWCOMMONP_H
00005 #define ___XWCOMMONP_H
00006 #include <X11/CompositeP.h>
00007 #include <./xwCommon.h>
00008 _XFUNCPROTOBEGIN
00009 #define max(a, b) ((a )>(b )?(a ):(b ))
00010 
00011 
00012 #define min(a, b) ((a )<(b )?(a ):(b ))
00013 
00014 
00015 typedef void (*compute_inside_Proc)(
00016 #if NeedFunctionPrototypes
00017 Widget,Position *,Position *,int *,int *
00018 #endif
00019 );
00020 #define XtInherit_compute_inside ((compute_inside_Proc) _XtInherit)
00021 typedef Dimension  (*total_frame_width_Proc)(
00022 #if NeedFunctionPrototypes
00023 Widget
00024 #endif
00025 );
00026 #define XtInherit_total_frame_width ((total_frame_width_Proc) _XtInherit)
00027 typedef void (*_expose_Proc)(
00028 #if NeedFunctionPrototypes
00029 Widget,XEvent *,Region 
00030 #endif
00031 );
00032 #define XtInherit__expose ((_expose_Proc) _XtInherit)
00033 typedef void (*highlight_border_Proc)(
00034 #if NeedFunctionPrototypes
00035 Widget
00036 #endif
00037 );
00038 #define XtInherit_highlight_border ((highlight_border_Proc) _XtInherit)
00039 typedef void (*unhighlight_border_Proc)(
00040 #if NeedFunctionPrototypes
00041 Widget
00042 #endif
00043 );
00044 #define XtInherit_unhighlight_border ((unhighlight_border_Proc) _XtInherit)
00045 typedef void (*hilite_callbacks_Proc)(
00046 #if NeedFunctionPrototypes
00047 Widget
00048 #endif
00049 );
00050 #define XtInherit_hilite_callbacks ((hilite_callbacks_Proc) _XtInherit)
00051 typedef Boolean  (*would_accept_focus_Proc)(
00052 #if NeedFunctionPrototypes
00053 Widget
00054 #endif
00055 );
00056 #define XtInherit_would_accept_focus ((would_accept_focus_Proc) _XtInherit)
00057 typedef void (*traverse_Proc)(
00058 #if NeedFunctionPrototypes
00059 Widget,TraversalDirection ,Widget ,Time *
00060 #endif
00061 );
00062 #define XtInherit_traverse ((traverse_Proc) _XtInherit)
00063 typedef Boolean  (*lighter_color_Proc)(
00064 #if NeedFunctionPrototypes
00065 Widget,Pixel ,Pixel *
00066 #endif
00067 );
00068 #define XtInherit_lighter_color ((lighter_color_Proc) _XtInherit)
00069 typedef Boolean  (*darker_color_Proc)(
00070 #if NeedFunctionPrototypes
00071 Widget,Pixel ,Pixel *
00072 #endif
00073 );
00074 #define XtInherit_darker_color ((darker_color_Proc) _XtInherit)
00075 typedef Boolean  (*set_color_Proc)(
00076 #if NeedFunctionPrototypes
00077 Widget,Pixel ,Pixel *
00078 #endif
00079 );
00080 #define XtInherit_set_color ((set_color_Proc) _XtInherit)
00081 
00082 typedef struct {
00083 /* methods */
00084 compute_inside_Proc compute_inside;
00085 total_frame_width_Proc total_frame_width;
00086 _expose_Proc _expose;
00087 highlight_border_Proc highlight_border;
00088 unhighlight_border_Proc unhighlight_border;
00089 hilite_callbacks_Proc hilite_callbacks;
00090 would_accept_focus_Proc would_accept_focus;
00091 traverse_Proc traverse;
00092 lighter_color_Proc lighter_color;
00093 darker_color_Proc darker_color;
00094 set_color_Proc set_color;
00095 /* class variables */
00096 XtTranslations  traversal_trans;
00097 XtTranslations  traversal_trans_small;
00098 Dimension  travMode;
00099 } XfwfCommonClassPart;
00100 
00101 typedef struct _XfwfCommonClassRec {
00102 CoreClassPart core_class;
00103 CompositeClassPart composite_class;
00104 XfwfCommonClassPart xfwfCommon_class;
00105 } XfwfCommonClassRec;
00106 
00107 typedef struct {
00108 /* resources */
00109 Boolean  traversalOn;
00110 Boolean  traversalTranslationDone;
00111 Dimension  highlightThickness;
00112 Pixel  highlightColor;
00113 Pixmap  highlightPixmap;
00114 XtCallbackList  nextTop;
00115 XtPointer  userData;
00116 Boolean  useExposeCallback;
00117 XtCallbackList  exposeCallback;
00118 XtCallbackList  focusHiliteChange;
00119 XtCallbackList  onDestroy;
00120 /* private state */
00121 Boolean  traversal_focus;
00122 GC  bordergc;
00123 } XfwfCommonPart;
00124 
00125 typedef struct _XfwfCommonRec {
00126 CorePart core;
00127 CompositePart composite;
00128 XfwfCommonPart xfwfCommon;
00129 } XfwfCommonRec;
00130 
00131 externalref XfwfCommonClassRec xfwfCommonClassRec;
00132 
00133 _XFUNCPROTOEND
00134 #endif /* ___XWCOMMONP_H */