comparison src/xgccache.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 1e2a3710564c
children b3ce27ca7647
comparison
equal deleted inserted replaced
3093:769dc945b085 3094:ad2f4ae9895b
29 struct gc_cache; 29 struct gc_cache;
30 struct gc_cache *make_gc_cache (Display *, Window); 30 struct gc_cache *make_gc_cache (Display *, Window);
31 void free_gc_cache (struct gc_cache *cache); 31 void free_gc_cache (struct gc_cache *cache);
32 GC gc_cache_lookup (struct gc_cache *, XGCValues *, unsigned long mask); 32 GC gc_cache_lookup (struct gc_cache *, XGCValues *, unsigned long mask);
33 33
34 #define XE_GCONTEXT(cell) (XGContextFromGC(cell->gc))
35
36 #ifdef DEBUG_XEMACS
37
38 void describe_gc_cache (struct gc_cache *cache, int flags);
39
40 #define DGCCFLAG_DISABLE 0
41 #define DGCCFLAG_SUMMARY 1 << 0
42 #define DGCCFLAG_LIST_CELLS 1 << 1
43 #define DGCCFLAG_CELL_DETAILS 1 << 2
44 /* A combination of the flags above. */
45 #define DGCCFLAG_DEFAULT DGCCFLAG_SUMMARY | DGCCFLAG_LIST_CELLS
46 #endif
47
34 #endif /* INCLUDED_xgccache_h_ */ 48 #endif /* INCLUDED_xgccache_h_ */