1 /* Efficient caching of X GCs (graphics contexts).
2 Copyright (C) 1993 Free Software Foundation, Inc.
4 This file is part of SXEmacs
6 SXEmacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 SXEmacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* Synched up with: Not in FSF. */
22 /* Written by jwz, 14 jun 93 */
23 /* Hacked by wmperry, apr 2000 */
25 #ifndef _GCCACHE_GTK_H_
26 #define _GCCACHE_GTK_H_
29 struct gc_cache *make_gc_cache(GtkWidget *);
30 void free_gc_cache(struct gc_cache *cache);
31 GdkGC *gc_cache_lookup(struct gc_cache *, GdkGCValues *, GdkGCValuesMask mask);
33 #endif /* _XGCCACHE_H_ */