comparison 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
comparison
equal deleted inserted replaced
90202:7597b4a23c3b 90203:187d6a1f84f7
178 unsigned long foreground; 178 unsigned long foreground;
179 unsigned long background; 179 unsigned long background;
180 XFontStruct *font; 180 XFontStruct *font;
181 } XGCValues; 181 } XGCValues;
182 182
183 typedef XGCValues *GC; 183 typedef struct _XGC
184 184 {
185 extern XGCValues * 185 /* Original value. */
186 XCreateGC (void *, Window, unsigned long, XGCValues *); 186 XGCValues xgcv;
187 187
188 #define GCForeground 0x01 188 /* Cached data members follow. */
189 #define GCBackground 0x02 189
190 #define GCFont 0x03 190 /* QuickDraw foreground color. */
191 #define GCGraphicsExposures 0 191 RGBColor fore_color;
192
193 /* QuickDraw background color. */
194 RGBColor back_color;
195 } *GC;
196
197 #define GCForeground (1L<<2)
198 #define GCBackground (1L<<3)
199 #define GCFont (1L<<14)
200 #define GCGraphicsExposures 0
192 201
193 /* Bit Gravity */ 202 /* Bit Gravity */
194 203
195 #define ForgetGravity 0 204 #define ForgetGravity 0
196 #define NorthWestGravity 1 205 #define NorthWestGravity 1
246 #define PResizeInc (1L << 6) /* program specified resize increments */ 255 #define PResizeInc (1L << 6) /* program specified resize increments */
247 #define PAspect (1L << 7) /* program specified min and max aspect ratios */ 256 #define PAspect (1L << 7) /* program specified min and max aspect ratios */
248 #define PBaseSize (1L << 8) /* program specified base for incrementing */ 257 #define PBaseSize (1L << 8) /* program specified base for incrementing */
249 #define PWinGravity (1L << 9) /* program specified window gravity */ 258 #define PWinGravity (1L << 9) /* program specified window gravity */
250 259
251 extern int XParseGeometry ();
252
253 typedef struct { 260 typedef struct {
254 int x, y; 261 int x, y;
255 unsigned width, height; 262 unsigned width, height;
256 } XRectangle; 263 } XRectangle;
257 264