diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /vendor/x11iraf/obm/ObmW/CommonP.h | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'vendor/x11iraf/obm/ObmW/CommonP.h')
-rw-r--r-- | vendor/x11iraf/obm/ObmW/CommonP.h | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/vendor/x11iraf/obm/ObmW/CommonP.h b/vendor/x11iraf/obm/ObmW/CommonP.h new file mode 100644 index 00000000..e98e2310 --- /dev/null +++ b/vendor/x11iraf/obm/ObmW/CommonP.h @@ -0,0 +1,108 @@ +/* Generated by wbuild from "Common.w" +** (generator version $Revision: 2.0 $ of $Date: 93/07/06 16:08:04 $) +*/ +#ifndef _XfwfCommonP_H_ +#define _XfwfCommonP_H_ +#include <X11/CompositeP.h> +#include "Common.h" +typedef void (*compute_inside_Proc)( +#if NeedFunctionPrototypes +Widget,Position *,Position *,Dimension *,Dimension * +#endif +); +#define XtInherit_compute_inside ((compute_inside_Proc) _XtInherit) +typedef void (*highlight_border_Proc)( +#if NeedFunctionPrototypes +Widget +#endif +); +#define XtInherit_highlight_border ((highlight_border_Proc) _XtInherit) +typedef void (*unhighlight_border_Proc)( +#if NeedFunctionPrototypes +Widget +#endif +); +#define XtInherit_unhighlight_border ((unhighlight_border_Proc) _XtInherit) +typedef Boolean (*would_accept_focus_Proc)( +#if NeedFunctionPrototypes +Widget +#endif +); +#define XtInherit_would_accept_focus ((would_accept_focus_Proc) _XtInherit) +typedef void (*traverse_Proc)( +#if NeedFunctionPrototypes +Widget,TraversalDirection ,Widget ,Time * +#endif +); +#define XtInherit_traverse ((traverse_Proc) _XtInherit) +typedef Boolean (*choose_color_Proc)( +#if NeedFunctionPrototypes +Widget,double ,Pixel ,Pixel * +#endif +); +#define XtInherit_choose_color ((choose_color_Proc) _XtInherit) +typedef Boolean (*lighter_color_Proc)( +#if NeedFunctionPrototypes +Widget,Pixel ,Pixel * +#endif +); +#define XtInherit_lighter_color ((lighter_color_Proc) _XtInherit) +typedef Boolean (*darker_color_Proc)( +#if NeedFunctionPrototypes +Widget,Pixel ,Pixel * +#endif +); +#define XtInherit_darker_color ((darker_color_Proc) _XtInherit) +typedef struct { +/* methods */ +compute_inside_Proc compute_inside; +highlight_border_Proc highlight_border; +unhighlight_border_Proc unhighlight_border; +would_accept_focus_Proc would_accept_focus; +#define LARGE_NUMBER 2000000000 + + +traverse_Proc traverse; +choose_color_Proc choose_color; +lighter_color_Proc lighter_color; +darker_color_Proc darker_color; +/* class variables */ +XtTranslations traversal_trans; +} XfwfCommonClassPart; +typedef struct _XfwfCommonClassRec { +CoreClassPart core_class; +CompositeClassPart composite_class; +XfwfCommonClassPart xfwfCommon_class; +} XfwfCommonClassRec; + +typedef struct { +/* resources */ +Boolean traversalOn; +Dimension highlightThickness; +Pixel highlightColor; +Pixmap highlightPixmap; +XtCallbackList nextTop; +XtPointer userData; +/* private state */ +#define max(a, b) ((a )>(b )?(a ):(b )) + + +#define min(a, b) ((a )<(b )?(a ):(b )) + + +#define abs(a) ((a )<0 ?-(a ):(a )) + + +Boolean traversal_focus; +GC bordergc; +} XfwfCommonPart; + +typedef struct _XfwfCommonRec { +CorePart core; +CompositePart composite; +XfwfCommonPart xfwfCommon; +} XfwfCommonRec; + +externalref XfwfCommonClassRec xfwfCommonClassRec; + +#endif /* _XfwfCommonP_H_ */ |