Modularize inheritance macros.

This commit is contained in:
ramiro%netscape.com 1998-09-30 11:58:37 +00:00
Родитель 4c8c809f88
Коммит 78c3e97bc8
11 изменённых файлов: 130 добавлений и 87 удалений

Просмотреть файл

@ -39,43 +39,43 @@ XFE_BEGIN_CPLUSPLUS_PROTECTION
#define XmNbutton3DownCallback "button3DownCallback"
#define XmNbutton3UpCallback "button3UpCallback"
#define XmNarmBackground "armBackground"
#define XmNarmForeground "armForeground"
#define XmNarmOffset "armOffset"
#define XmNarmed "armed"
#define XmNarmedPixmap "armedPixmap"
#define XmNarmedPixmapMask "armedPixmapMask"
#define XmNbuttonLayout "buttonLayout"
#define XmNbuttonTrigger "buttonTrigger"
#define XmNdeterminate "determinate"
#define XmNemulateMotif "emulateMotif"
#define XmNfillOnEnter "fillOnEnter"
#define XmNinsensitivePixmap "insensitivePixmap"
#define XmNinsensitivePixmapMask "insensitivePixmapMask"
#define XmNpixmapMask "pixmapMask"
#define XmNraiseBackground "raiseBackground"
#define XmNraiseBorderThickness "raiseBorderThickness"
#define XmNraiseForeground "raiseForeground"
#define XmNraiseOffset "raiseOffset"
#define XmNraiseOnEnter "raiseOnEnter"
#define XmNraised "raised"
#define XmNraisedPixmap "raisedPixmap"
#define XmNraisedPixmapMask "raisedPixmapMask"
#define XmNtransparentCursor "transparentCursor"
#define XmNraiseBackground "raiseBackground"
#define XmNraiseBorderThickness "raiseBorderThickness"
#define XmNarmBackground "armBackground"
#define XmNarmOffset "armOffset"
#define XmNarmed "armed"
#define XmNemulateMotif "emulateMotif"
#define XmNarmedPixmap "armedPixmap"
#define XmNarmedPixmapMask "armedPixmapMask"
#define XmNbuttonLayout "buttonLayout"
#define XmNpixmapMask "pixmapMask"
#define XmNbuttonTrigger "buttonTrigger"
#define XmNraiseForeground "raiseForeground"
#define XmNinsensitivePixmap "insensitivePixmap"
#define XmNfillOnEnter "fillOnEnter"
#define XmNraiseOffset "raiseOffset"
#define XmNraiseOnEnter "raiseOnEnter"
#define XmNraised "raised"
#define XmNraisedPixmap "raisedPixmap"
#define XmNraisedPixmapMask "raisedPixmapMask"
#define XmCArmBackground "ArmBackground"
#define XmCArmForeground "ArmForeground"
#define XmCArmOffset "ArmOffset"
#define XmCArmed "Armed"
#define XmCArmedPixmap "ArmedPixmap"
#define XmCArmedPixmapMask "ArmedPixmapMask"
#define XmCButtonLayout "ButtonLayout"
#define XmCButtonTrigger "ButtonTrigger"
#define XmCFillOnEnter "FillOnEnter"
#define XmCDeterminate "Determinate"
#define XmCDragButton "DragButton"
#define XmCEmulateMotif "EmulateMotif"
#define XmCFillOnEnter "FillOnEnter"
#define XmCInsensitivePixmap "InsensitivePixmap"
#define XmCArmed "Armed"
#define XmCButtonLayout "ButtonLayout"
#define XmCInsensitivePixmapMask "InsensitivePixmapMask"
#define XmCPixmapMask "PixmapMask"
#define XmCRaiseBackground "RaiseBackground"
@ -84,11 +84,11 @@ XFE_BEGIN_CPLUSPLUS_PROTECTION
#define XmCRaisedPixmapMask "RaisedPixmapMask"
#define XmCUnderlineThickness "UnderlineThickness"
#define XmRButtonLayout "ButtonLayout"
#define XmRButtonTrigger "ButtonTrigger"
#define XmCRaiseBorderThickness "RaiseBorderThickness"
#define XmCRaiseOnEnter "RaiseOnEnter"
#define XmCRaised "Raised"
#define XmCRaiseBorderThickness "RaiseBorderThickness"
#define XmCRaiseOnEnter "RaiseOnEnter"
#define XmCRaised "Raised"
#define XmRButtonLayout "ButtonLayout"
#define XmRButtonTrigger "ButtonTrigger"
/*----------------------------------------------------------------------*/
/* */

Просмотреть файл

@ -31,6 +31,17 @@
#include <Xfe/LabelP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeButton method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritLayoutPixmap ((XtWidgetProc) _XtInherit)
#define XfeInheritDrawPixmap ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawRaiseBorder ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawUnderline ((XfeExposeProc) _XtInherit)
#define XfeInheritArmTimeout ((XtTimerCallbackProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */
@ -96,7 +107,7 @@ typedef struct _XfeButtonPart
Boolean fill_on_arm; /* Fill on arm ? */
/* Raise resources */
Boolean fill_on_enter; /* Fill on raise ? */
Boolean fill_on_enter; /* Fill on enter ? */
Pixel raise_foreground; /* Raise foreground */
Pixel raise_background; /* Raise background */
Dimension raise_border_thickness; /* Raise border thickness*/

Просмотреть файл

@ -32,6 +32,17 @@
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeDynamicManager method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritAcceptDynamicChild ((XfeChildFunc) _XtInherit)
#define XfeInheritDeleteDynamicChild ((XfeChildFunc) _XtInherit)
#define XfeInheritInsertDynamicChild ((XfeChildFunc) _XtInherit)
#define XfeInheritLayoutDynamicChildren ((XtWidgetProc) _XtInherit)
#define XfeInheritGetChildDimensions ((XfeGeometryProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */
/* XfeDynamicManagerClassPart */

Просмотреть файл

@ -31,7 +31,18 @@
#include <Xfe/PrimitiveP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeLabel method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritLayoutString ((XtWidgetProc) _XtInherit)
#define XfeInheritDrawString ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawSelection ((XfeExposeProc) _XtInherit)
#define XfeInheritGetLabelGC ((XfeGetGCFunc) _XtInherit)
#define XfeInheritGetSelectionGC ((XfeGetGCFunc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */
/* XfeLabelClassPart */

Просмотреть файл

@ -36,6 +36,19 @@
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeManager method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritUpdateChildrenInfo ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutWidget ((XtWidgetProc) _XtInherit)
#define XfeInheritAcceptStaticChild ((XfeChildFunc) _XtInherit)
#define XfeInheritInsertStaticChild ((XfeChildFunc) _XtInherit)
#define XfeInheritDeleteStaticChild ((XfeChildFunc) _XtInherit)
#define XfeInheritLayoutStaticChildren ((XtWidgetProc) _XtInherit)
#define XfeInheritChangeManaged ((XtWidgetProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */
/* XfeManagerClassPart */

Просмотреть файл

@ -31,7 +31,25 @@
#include <Xfe/DynamicManagerP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeOriented method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritEnter ((XfeOrientedProc) _XtInherit)
#define XfeInheritLeave ((XfeOrientedProc) _XtInherit)
#define XfeInheritMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritDragStart ((XfeOrientedProc) _XtInherit)
#define XfeInheritDragEnd ((XfeOrientedProc) _XtInherit)
#define XfeInheritDragMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantEnter ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantLeave ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantDragStart ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantDragEnd ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantDragMotion ((XfeOrientedProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */
/* XfeOrientedClassPart */

Просмотреть файл

@ -34,6 +34,19 @@
#include <Xm/DrawP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfePrimitive method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritBitGravity ((XfeBitGravityType) _XtInherit)
#define XfeInheritPreferredGeometry ((XfeGeometryProc) _XtInherit)
#define XfeInheritUpdateBoundary ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutComponents ((XtWidgetProc) _XtInherit)
#define XfeInheritDrawBackground ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawShadow ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawComponents ((XfeExposeProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */

Просмотреть файл

@ -29,6 +29,7 @@
#include <Xfe/TempTwo.h>
#include <Xfe/DynamicManagerP.h>
#include <Xfe/LabelP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION

Просмотреть файл

@ -103,62 +103,6 @@ typedef void (*XfeBitGravityType)(void);
typedef int XfeBitGravityType;
#endif
/*----------------------------------------------------------------------*/
/* */
/* Widget method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritAcceptDynamicChild ((XfeChildFunc) _XtInherit)
#define XfeInheritAcceptStaticChild ((XfeChildFunc) _XtInherit)
#define XfeInheritArmTimeout ((XtTimerCallbackProc) _XtInherit)
#define XfeInheritBitGravity ((XfeBitGravityType) _XtInherit)
#define XfeInheritChangeManaged ((XtWidgetProc) _XtInherit)
#define XfeInheritClickTimeout ((XtTimerCallbackProc) _XtInherit)
#define XfeInheritDeleteDynamicChild ((XfeChildFunc) _XtInherit)
#define XfeInheritDeleteStaticChild ((XfeChildFunc) _XtInherit)
#define XfeInheritDescendantDragEnd ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantDragMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantDragStart ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantEnter ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantLeave ((XfeOrientedProc) _XtInherit)
#define XfeInheritDescendantMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritDragEnd ((XfeOrientedProc) _XtInherit)
#define XfeInheritDragMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritDragStart ((XfeOrientedProc) _XtInherit)
#define XfeInheritDrawBackground ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawComponents ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawHighlight ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawPixmap ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawRaiseBorder ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawSelection ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawShadow ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawString ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawTitleShadow ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawUnderline ((XfeExposeProc) _XtInherit)
#define XfeInheritEnter ((XfeOrientedProc) _XtInherit)
#define XfeInheritGetBackgroundGC ((XfeGetGCFunc) _XtInherit)
#define XfeInheritGetChildDimensions ((XfeGeometryProc) _XtInherit)
#define XfeInheritGetLabelGC ((XfeGetGCFunc) _XtInherit)
#define XfeInheritGetPixmapGC ((XfeGetGCFunc) _XtInherit)
#define XfeInheritGetSelectionGC ((XfeGetGCFunc) _XtInherit)
#define XfeInheritInsertDynamicChild ((XfeChildFunc) _XtInherit)
#define XfeInheritInsertStaticChild ((XfeChildFunc) _XtInherit)
#define XfeInheritLayoutArrow ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutComponents ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutDynamicChildren ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutIndicator ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutPixmap ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutStaticChildren ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutString ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutTitle ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutWidget ((XtWidgetProc) _XtInherit)
#define XfeInheritLeave ((XfeOrientedProc) _XtInherit)
#define XfeInheritMotion ((XfeOrientedProc) _XtInherit)
#define XfeInheritPreferredGeometry ((XfeGeometryProc) _XtInherit)
#define XfeInheritToggleSelection ((XtWidgetProc) _XtInherit)
#define XfeInheritUpdateBoundary ((XtWidgetProc) _XtInherit)
#define XfeInheritUpdateChildrenInfo ((XtWidgetProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */
/* Method inheritance resolution macro */

Просмотреть файл

@ -31,6 +31,16 @@
#include <Xfe/ManagerP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeComboBox method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritLayoutTitle ((XtWidgetProc) _XtInherit)
#define XfeInheritLayoutArrow ((XtWidgetProc) _XtInherit)
#define XfeInheritDrawHighlight ((XfeExposeProc) _XtInherit)
#define XfeInheritDrawTitleShadow ((XfeExposeProc) _XtInherit)
/*----------------------------------------------------------------------*/
/* */

Просмотреть файл

@ -31,7 +31,18 @@
#include <Xfe/OrientedP.h>
XFE_BEGIN_CPLUSPLUS_PROTECTION
/*----------------------------------------------------------------------*/
/* */
/* XfeToolBar method inheritance macros */
/* */
/*----------------------------------------------------------------------*/
#define XfeInheritLayoutIndicator ((XtWidgetProc) _XtInherit)
#ifndef XfeInheritDrawRaiseBorder
#define XfeInheritDrawRaiseBorder ((XfeExposeProc) _XtInherit)
#endif
/*----------------------------------------------------------------------*/
/* */
/* XfeToolBarClassPart */