File indexing completed on 2025-01-18 10:15:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #ifndef _XmExtP_h_
0026 #define _XmExtP_h_
0027
0028 #include <Xm/Ext.h>
0029
0030
0031
0032
0033
0034 #if defined(hpux) && OS_MAJOR_VERSION < 10
0035 #include <nl_ctype.h>
0036 #endif
0037
0038
0039
0040
0041
0042 #if defined(__cplusplus)
0043 extern "C" {
0044 #endif
0045
0046 typedef void (*XmVoidFunc)(void);
0047 typedef int (*XmIntFunc)(void);
0048 typedef unsigned int (*XmUnsignedIntFunc)(void);
0049
0050 extern String xm_std_filter[], xm_std_constraint_filter[];
0051
0052
0053
0054
0055
0056 #define streq(a, b) (((a) != NULL) && ((b) != NULL) && (strcmp((a), (b)) == 0))
0057
0058 #define ForAllChildren(w, childP) \
0059 for ( (childP) = (w)->composite.children ; \
0060 (childP) < (w)->composite.children + (w)->composite.num_children ; \
0061 (childP)++ )
0062
0063
0064
0065
0066
0067
0068
0069
0070 #define XM_ICON_BUTTON_CLASS_NAME ("XmIconButton")
0071 #define XM_EXT_LIST_CLASS_NAME ("XmExtendedList")
0072 #define XM_ILIST_CLASS_NAME ("XmIList")
0073 #define XM_EXT_18_LIST_CLASS_NAME ("XmExtended18List")
0074 #define XM_I18LIST_CLASS_NAME ("XmI18List")
0075
0076
0077
0078
0079
0080
0081
0082
0083 void XmResolveAllPartOffsets64(WidgetClass, XmOffsetPtr*, XmOffsetPtr*);
0084 void _XmMoveWidget(Widget, Position, Position);
0085 void _XmResizeWidget(Widget, Dimension, Dimension, Dimension);
0086 void _XmConfigureWidget(Widget, Position, Position,
0087 Dimension, Dimension, Dimension);
0088
0089 XtGeometryResult _XmRequestNewSize(Widget, Boolean, Dimension,
0090 Dimension,
0091 Dimension *, Dimension *);
0092
0093 XtGeometryResult _XmHWQuery(Widget, XtWidgetGeometry*, XtWidgetGeometry *);
0094
0095 void _XmGetFocus(Widget, XEvent *, String *, Cardinal *);
0096
0097 void _XmFilterArgs(ArgList, Cardinal, String *,
0098 ArgList *, Cardinal *);
0099
0100 void _XmSetValuesOnChildren(Widget, ArgList, Cardinal);
0101
0102 Boolean _XmGadgetWarning(Widget);
0103
0104 String _XmGetMBStringFromXmString(XmString);
0105
0106
0107
0108
0109
0110 void _XmSetContextData(Widget, XContext, XtPointer);
0111 void _XmDeleteContextData(Widget, XContext);
0112 Boolean _XmGetContextData(Widget, XContext, XtPointer *);
0113 Boolean _XmUtilIsSubclassByNameQ(Widget, XrmQuark);
0114 void _XmInitialIzeConverters(Widget);
0115
0116 void _XmExtHighlightBorder(Widget);
0117 void _XmExtUnhighlightBorder(Widget);
0118
0119
0120
0121
0122
0123
0124 #if defined(__cplusplus)
0125 }
0126 #endif
0127
0128 #endif