diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-09-21 14:23:57 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-01-24 14:19:22 -0500 |
| commit | 001f174cf5b06e8725d46a659ef5416c241b45dd (patch) | |
| tree | 44673f3a72f739d4b26e9f997f51d0ea38459369 /obrender/imagecache.h | |
| parent | f458d66c7e2f7ea16a3c57b7fa00c9992ec4592c (diff) | |
Big rework of image.c and the image cache system.
Added a lot of comments, simplified call graphs.
Added full (not second-class) support for images coming from named sources (files, icon themes).
RrImage holds an RrImageSet. RrImageSet holds a bunch of RrImagePic, which are different sizes of a logical image.
RrImageSet objects can be merged if it is discovered they (will) share an RrImagePic. The RrImage objects are updated to use the new merged RrImageSet.
Diffstat (limited to 'obrender/imagecache.h')
| -rw-r--r-- | obrender/imagecache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/obrender/imagecache.h b/obrender/imagecache.h index 9baf34bb..f9f5e4d2 100644 --- a/obrender/imagecache.h +++ b/obrender/imagecache.h @@ -45,13 +45,13 @@ struct _RrImageCache { */ gint max_resized_saved; - /*! A hash table of images in the cache that don't have a file name + /*! A hash table of image sets in the cache that don't have a file name attached to them, with their key being a hash of the contents of the image. */ GHashTable *pic_table; - /*! Used to find out if an image file has already been loaded. - Provides a quick file_name -> RrImage lookup. */ + /*! Used to find out if an image file has already been loaded into an + image set. Provides a quick file_name -> RrImageSet lookup. */ GHashTable *name_table; }; |
