comparison src/xterm.h @ 1408:b8e32247c590

* xterm.h: Declaration of struct face removed.
author Joseph Arceneaux <jla@gnu.org>
date Wed, 14 Oct 1992 22:51:35 +0000
parents 353663d81b11
children 86202f01266d
comparison
equal deleted inserted replaced
1407:0f214040f708 1408:b8e32247c590
100 100
101 #define FONT_WIDTH(f) ((f)->max_bounds.width) 101 #define FONT_WIDTH(f) ((f)->max_bounds.width)
102 #define FONT_HEIGHT(f) ((f)->ascent + (f)->descent) 102 #define FONT_HEIGHT(f) ((f)->ascent + (f)->descent)
103 #define FONT_BASE(f) ((f)->ascent) 103 #define FONT_BASE(f) ((f)->ascent)
104 104
105 /* GC values used for drawing non-standard (other face) text. */
106 extern XGCValues face_gc_values;
107
108 /* The mask of events that text windows always want to receive. This 105 /* The mask of events that text windows always want to receive. This
109 does not include mouse movement events. It is used when the window 106 does not include mouse movement events. It is used when the window
110 is created (in x_window) and when we ask/unask for mouse movement 107 is created (in x_window) and when we ask/unask for mouse movement
111 events (in XTmouse_tracking_enable). 108 events (in XTmouse_tracking_enable).
112 109
366 Face number 0 is unused. The low order byte of a glyf gives 363 Face number 0 is unused. The low order byte of a glyf gives
367 the character within the font. All fonts are assumed to be 364 the character within the font. All fonts are assumed to be
368 fixed width, and to have the same height and width. */ 365 fixed width, and to have the same height and width. */
369 366
370 #ifdef HAVE_X11 367 #ifdef HAVE_X11
371 /* Table of GC's used for this frame. */ 368
372 GC *gc_table; 369 /* Face declared in dispextern.h */
373
374 /* How many GCs are in the table. */
375 int gcs_in_use;
376
377 struct face
378 {
379 GC face_gc;
380 unsigned int foreground;
381 unsigned int background;
382 Pixmap stipple;
383 XFontStruct *font;
384 };
385 370
386 #else /* X10 */ 371 #else /* X10 */
387 372
388 struct face 373 struct face
389 { 374 {