BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __GXK_IMAGE_CACHE_H__ 00003 #define __GXK_IMAGE_CACHE_H__ 00004 00005 #include <gxk/gxkutils.hh> 00006 00007 G_BEGIN_DECLS 00008 00009 typedef struct { 00010 gchar *file_name; 00011 GdkColor tint; 00012 gdouble saturation; 00013 GdkColormap *colormap; 00014 GdkPixmap *pixmap; 00015 guint use_count; 00016 } GxkImageCacheItem; 00017 00018 #define GXK_IMAGE_BLACK32 (":/: black32") 00019 00020 GdkPixmap* gxk_image_cache_use_pixmap (const gchar *file_name, 00021 GdkColor tint, 00022 gdouble saturation, 00023 GdkColormap *colormap); 00024 void gxk_image_cache_unuse_pixmap (GdkPixmap *pixmap); 00025 00026 00027 G_END_DECLS 00028 00029 #endif /* __GXK_IMAGE_CACHE_H__ */