180 |
XFontStruct *font; |
XFontStruct *font; |
181 |
} XGCValues; |
} XGCValues; |
182 |
|
|
183 |
typedef XGCValues *GC; |
typedef struct _XGC |
184 |
|
{ |
185 |
extern XGCValues * |
/* Original value. */ |
186 |
XCreateGC (void *, Window, unsigned long, XGCValues *); |
XGCValues xgcv; |
187 |
|
|
188 |
#define GCForeground 0x01 |
/* Cached data members follow. */ |
189 |
#define GCBackground 0x02 |
|
190 |
#define GCFont 0x03 |
/* QuickDraw foreground color. */ |
191 |
#define GCGraphicsExposures 0 |
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 |
201 |
|
|
202 |
/* Bit Gravity */ |
/* Bit Gravity */ |
203 |
|
|
257 |
#define PBaseSize (1L << 8) /* program specified base for incrementing */ |
#define PBaseSize (1L << 8) /* program specified base for incrementing */ |
258 |
#define PWinGravity (1L << 9) /* program specified window gravity */ |
#define PWinGravity (1L << 9) /* program specified window gravity */ |
259 |
|
|
|
extern int XParseGeometry (); |
|
|
|
|
260 |
typedef struct { |
typedef struct { |
261 |
int x, y; |
int x, y; |
262 |
unsigned width, height; |
unsigned width, height; |