Mercurial > emacs
diff src/macgui.h @ 90203:187d6a1f84f7
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-71
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 485-492)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 92-94)
- Merge from emacs--cvs-trunk--0
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 22 Jul 2005 08:27:27 +0000 |
parents | f9a65d7ebd29 94a250aa72e0 |
children | 2d92f5c9d6ae |
line wrap: on
line diff
--- a/src/macgui.h Tue Jul 19 02:58:20 2005 +0000 +++ b/src/macgui.h Fri Jul 22 08:27:27 2005 +0000 @@ -180,15 +180,24 @@ XFontStruct *font; } XGCValues; -typedef XGCValues *GC; +typedef struct _XGC +{ + /* Original value. */ + XGCValues xgcv; -extern XGCValues * -XCreateGC (void *, Window, unsigned long, XGCValues *); + /* Cached data members follow. */ -#define GCForeground 0x01 -#define GCBackground 0x02 -#define GCFont 0x03 -#define GCGraphicsExposures 0 + /* QuickDraw foreground color. */ + RGBColor fore_color; + + /* QuickDraw background color. */ + RGBColor back_color; +} *GC; + +#define GCForeground (1L<<2) +#define GCBackground (1L<<3) +#define GCFont (1L<<14) +#define GCGraphicsExposures 0 /* Bit Gravity */ @@ -248,8 +257,6 @@ #define PBaseSize (1L << 8) /* program specified base for incrementing */ #define PWinGravity (1L << 9) /* program specified window gravity */ -extern int XParseGeometry (); - typedef struct { int x, y; unsigned width, height;