Mercurial > hg > xemacs-beta
comparison src/xmu.h @ 424:11054d720c21 r21-2-20
Import from CVS: tag r21-2-20
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:26:11 +0200 |
parents | 697ef44129c6 |
children |
comparison
equal
deleted
inserted
replaced
423:28d9c139be4c | 424:11054d720c21 |
---|---|
7 # include <X11/Xmu/CharSet.h> | 7 # include <X11/Xmu/CharSet.h> |
8 # include <X11/Xmu/Converters.h> | 8 # include <X11/Xmu/Converters.h> |
9 # include <X11/Xmu/CurUtil.h> | 9 # include <X11/Xmu/CurUtil.h> |
10 # include <X11/Xmu/Drawing.h> | 10 # include <X11/Xmu/Drawing.h> |
11 # include <X11/Xmu/Error.h> | 11 # include <X11/Xmu/Error.h> |
12 # include <X11/Xmu/Misc.h> | |
12 | 13 |
13 /* Do the EDITRES protocol if running X11R5 (or later) version */ | 14 /* Do the EDITRES protocol if running X11R5 (or later) version */ |
14 #if (XtSpecificationRelease >= 5) | 15 #if (XtSpecificationRelease >= 5) |
15 /* #### No dice if we don't have XMU until someone ports | 16 /* #### No dice if we don't have XMU until someone ports |
16 _XEditResCheckMessages to xmu.c */ | 17 _XEditResCheckMessages to xmu.c */ |
25 unsigned int *height, unsigned char **datap, | 26 unsigned int *height, unsigned char **datap, |
26 int *x_hot, int *y_hot); | 27 int *x_hot, int *y_hot); |
27 int XmuPrintDefaultErrorMessage (Display *dpy, XErrorEvent *event, FILE *fp); | 28 int XmuPrintDefaultErrorMessage (Display *dpy, XErrorEvent *event, FILE *fp); |
28 void XmuCopyISOLatin1Lowered (char *, CONST char *); | 29 void XmuCopyISOLatin1Lowered (char *, CONST char *); |
29 | 30 |
31 #define Max(x, y) (((x) > (y)) ? (x) : (y)) | |
32 #define Min(x, y) (((x) < (y)) ? (x) : (y)) | |
33 #define AssignMax(x, y) {if ((y) > (x)) x = (y);} | |
34 #define AssignMin(x, y) {if ((y) < (x)) x = (y);} | |
35 typedef enum {XtorientHorizontal, XtorientVertical} XtOrientation; | |
36 | |
30 #endif | 37 #endif |
31 | 38 |