comparison src/console-x-impl.h @ 3094:ad2f4ae9895b

[xemacs-hg @ 2005-11-26 11:45:47 by stephent] Xft merge. <87k6ev4p8q.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Sat, 26 Nov 2005 11:46:25 +0000
parents 141c2920ea48
children 374186f156d5
comparison
equal deleted inserted replaced
3093:769dc945b085 3094:ad2f4ae9895b
306 /* Could get these at any time by asking xic, but... */ 306 /* Could get these at any time by asking xic, but... */
307 XIMStyle xic_style; /* XIM Style cache */ 307 XIMStyle xic_style; /* XIM Style cache */
308 #endif /* XIM_XLIB */ 308 #endif /* XIM_XLIB */
309 #endif /* HAVE_XIM */ 309 #endif /* HAVE_XIM */
310 310
311 #ifdef USE_XFT
312 /* The Xft Drawable wrapper for this device.
313 #### Should this be per-device, or per-frame? */
314 /* This is persistent to take advantage of the ability of Xft's glyph
315 cache in the server, and avoid rendering the font again and again...
316
317 This is created the first time through redisplay, and destroyed when our
318 connection to the X display is destroyed. */
319 XftDraw *xftDraw;
320 #endif
321
311 /* 1 if the frame is completely visible on the display, 0 otherwise. 322 /* 1 if the frame is completely visible on the display, 0 otherwise.
312 if 0 the frame may have been iconified or may be totally 323 if 0 the frame may have been iconified or may be totally
313 or partially hidden by another X window */ 324 or partially hidden by another X window */
314 unsigned int totally_visible_p :1; 325 unsigned int totally_visible_p :1;
315 326
365 #define FRAME_X_TOOLBAR_PIXMAP_BACKGROUND_GC(f) (FRAME_X_DATA (f)->toolbar_pixmap_background_gc) 376 #define FRAME_X_TOOLBAR_PIXMAP_BACKGROUND_GC(f) (FRAME_X_DATA (f)->toolbar_pixmap_background_gc)
366 #endif /* HAVE_TOOLBARS */ 377 #endif /* HAVE_TOOLBARS */
367 378
368 #define FRAME_X_GEOM_FREE_ME_PLEASE(f) (FRAME_X_DATA (f)->geom_free_me_please) 379 #define FRAME_X_GEOM_FREE_ME_PLEASE(f) (FRAME_X_DATA (f)->geom_free_me_please)
369 380
381 #ifdef USE_XFT
382 #define FRAME_X_XFTDRAW(f) (FRAME_X_DATA (f)->xftDraw)
383 #endif
384
370 #define FRAME_X_TOTALLY_VISIBLE_P(f) (FRAME_X_DATA (f)->totally_visible_p) 385 #define FRAME_X_TOTALLY_VISIBLE_P(f) (FRAME_X_DATA (f)->totally_visible_p)
371 #define FRAME_X_TOP_LEVEL_FRAME_P(f) (FRAME_X_DATA (f)->top_level_frame_p) 386 #define FRAME_X_TOP_LEVEL_FRAME_P(f) (FRAME_X_DATA (f)->top_level_frame_p)
372 387
373 #ifdef EXTERNAL_WIDGET 388 #ifdef EXTERNAL_WIDGET
374 #define FRAME_X_EXTERNAL_WINDOW_P(f) (FRAME_X_DATA (f)->external_window_p) 389 #define FRAME_X_EXTERNAL_WINDOW_P(f) (FRAME_X_DATA (f)->external_window_p)