Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:15:25

0001 /*
0002  * Motif
0003  *
0004  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
0005  *
0006  * These libraries and programs are free software; you can
0007  * redistribute them and/or modify them under the terms of the GNU
0008  * Lesser General Public License as published by the Free Software
0009  * Foundation; either version 2 of the License, or (at your option)
0010  * any later version.
0011  *
0012  * These libraries and programs are distributed in the hope that
0013  * they will be useful, but WITHOUT ANY WARRANTY; without even the
0014  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
0015  * PURPOSE. See the GNU Lesser General Public License for more
0016  * details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with these librararies and programs; if not, write
0020  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
0021  * Floor, Boston, MA 02110-1301 USA
0022  * 
0023  */
0024 
0025 #ifndef _XmExt_h_
0026 #define _XmExt_h_
0027 
0028 
0029 /************************************************************
0030 *   INCLUDE FILES
0031 *************************************************************/
0032 
0033 #include <Xm/Xm.h>
0034 
0035 #if defined(__cplusplus)
0036 extern "C" {
0037 #endif
0038 
0039 
0040 
0041 typedef Widget (*XmWidgetFunc)(Widget);
0042 
0043 
0044 /************************************************************
0045 *   TYPEDEFS AND DEFINES
0046 *************************************************************/
0047 
0048 /*
0049  * General name definitions.
0050  */
0051 
0052 
0053 #define XmNbadActionParameters "badActionParameters"
0054 #define XmNbadActionParametersMsg \
0055     "Bad parameters passed to an action routine of widget '%s'."
0056 
0057 #define XmNbadMotionParams "badMotionParams"
0058 #define XmNbadMotionParamsMsg \
0059 "%s - Motion Action : must have exactly 1 parameter, either '%s' or '%s'."
0060 
0061 #define XmNbadRowPixmap "badRowPixmap"
0062 #define XmNbadRowPixmapMsg "Extended List: Row pixmaps must have depth of 1."
0063 
0064 #define XmNbadXlfdFont "badXlfdFont"
0065 #define XmNbadXlfdFontMsg \
0066 "%s: All Xlfd fonts must contain 14 hyphens\n'%s' is not valid."
0067 
0068 #define XmNcellNotEmpty "cellNotEmpty"
0069 #define XmNcellNotEmptyMsg "XmIconBox: Cell %s is not empty"
0070 
0071 #define XmNcolorNameTooLong "colorNameTooLong"
0072 #define XmNcolorNameTooLongMsg \
0073   "Color name '%s' is too long, truncated to '%s'."
0074 
0075 #define XmNcontextSaveFailed "contextSaveFailed"
0076 #define XmNcontextSaveFailedMsg "Internal Error: Could not save context data."
0077 
0078 #define XmNconversionFailure "conversionFailure"
0079 #define XmNconversionFailureMsg \
0080     "%s: Unable to perform string to %s conversion."
0081 
0082 #define XmNcouldNotFindFamilyData "couldNotFindFamilyData"
0083 #define XmNcouldNotFindFamilyDataMsg \
0084   "Could not find family data for family '%s'."
0085 
0086 #define XmNforceGreaterThanZero "forceGreaterThanZero"
0087 #define XmNforceGreaterThanZeroMsg \
0088 "XmNvisibleItemCount must be greater than zero being reset to one (1)."
0089     
0090 #define XmNinsertBeforeNotSibling "insertBeforeNotSibling"
0091 #define XmNinsertBeforeNotSiblingMsg "XmHierarchy: InsertBefore Widget\
0092  is not a sibling of '%s'.\nInserting child at end of list."
0093     
0094 #define XmNnoComboShell "noComboShell"
0095 #define XmNnoComboShellMsg \
0096     "Combination Box: When using a custom combo box a shell must be provided."
0097 
0098 #define XmNnoEmptyCells "noEmptyCells"
0099 #define XmNnoEmptyCellsMsg "XmIconBox: Could not find any empty cells."
0100 
0101 #define XmNnoGadgetSupport "noGadgetSupport"
0102 #define XmNnoGadgetSupportMsg "Widget does not support gadget children."
0103     
0104 #define XmNpixEditBadImageCreate "pixEditBadImageCreate"
0105 #define XmNpixEditBadImageCreateMsg "Pixmap Editor: Can't allocate image data"
0106 
0107 #define XmNsameAsImageOrPix "sameAsImageOrPix"
0108 #define XmNsameAsImageOrPixMsg \
0109 "%s : The bitmapMode resource can only be changed at the same time as the pixmap or image"
0110 
0111 #define XmNselfOrOutsideOfApplicationDrop "selfOrOutsideOfApplicationDrop"
0112 #define XmNselfOrOutsideOfApplicationDropMsg \
0113     "Attempt to drop into illegal object."
0114 
0115 #define XmNstaticTranslationsMsg \
0116     "Cannot change translation table after initialization."
0117 
0118 #define XmNstaticScrollbarsMsg \
0119     "Cannot change scrollbars after initialization."
0120 
0121 #define XmNtextVerifyFailed "textVerifyFailed"
0122 #define XmNtextVerifyFailedMsg "Combination Box: Text item validation failed."
0123 
0124 #define XmNunexpectedEvent "unexpectedEvent"
0125 #define XmNunexpectedEventMsg "Unexpected Event Type %s.\n"
0126 
0127 #define XmNunparsableColor "unparsableColor"
0128 #define XmNunparsableColorMsg \
0129   "Could not parse the color name '%s'."
0130 
0131 #define XmNnodeParentIsSelf "nodeParentIsSelf"
0132 #define XmNnodeParentIsSelfMsg \
0133   "The node parent cannot be self referential."
0134 
0135 #define XmNstringGetFailed "stringGetFailed"
0136 #define XmNstringGetFailedMsg "Unable to get MB string from XmString."
0137 
0138 /************************************************************
0139 *   MACROS
0140 *************************************************************/
0141 
0142 /************************************************************
0143 *   GLOBAL DECLARATIONS
0144 *************************************************************/
0145 
0146 /************************************************************
0147 *   EXTERNAL DECLARATIONS
0148 *************************************************************/
0149       
0150 
0151 void XmCopyISOLatin1Lowered(char *, char *);
0152 
0153 int XmCompareISOLatin1(char*, char*);
0154 
0155 Boolean XmCompareXtWidgetGeometryToWidget(XtWidgetGeometry*, Widget);
0156 
0157 Boolean XmCompareXtWidgetGeometry(XtWidgetGeometry*, XtWidgetGeometry*);
0158 
0159 
0160 #if defined(__cplusplus)
0161 }
0162 #endif
0163 
0164 #if defined(VMS) || defined(__VMS)
0165 #include <X11/apienvrst.h>
0166 #endif
0167 
0168 #endif /* __Ext_h__ */