BEAST - Free Software Audio Synthesizer and Tracker  0.10.0
gxkimagecache.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __GXK_IMAGE_CACHE_H__
3 #define __GXK_IMAGE_CACHE_H__
4 
5 #include <gxk/gxkutils.hh>
6 
7 G_BEGIN_DECLS
8 
9 typedef struct {
10  gchar *file_name;
11  GdkColor tint;
12  gdouble saturation;
13  GdkColormap *colormap;
14  GdkPixmap *pixmap;
15  guint use_count;
17 
18 #define GXK_IMAGE_BLACK32 (":/: black32")
19 
20 GdkPixmap* gxk_image_cache_use_pixmap (const gchar *file_name,
21  GdkColor tint,
22  gdouble saturation,
23  GdkColormap *colormap);
24 void gxk_image_cache_unuse_pixmap (GdkPixmap *pixmap);
25 
26 
27 G_END_DECLS
28 
29 #endif /* __GXK_IMAGE_CACHE_H__ */
Definition: gxkimagecache.hh:9