X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obrender%2Fimagecache.h;h=f9f5e4d2648b069160b2cc2663d6c62a9ebe8f8c;hb=HEAD;hp=a61fae67438f9b4425ce05e17275016d6a30a374;hpb=0352abfa88892bc17bdff2022745e3c1b312edd0;p=chaz%2Fopenbox diff --git a/obrender/imagecache.h b/obrender/imagecache.h index a61fae67..f9f5e4d2 100644 --- a/obrender/imagecache.h +++ b/obrender/imagecache.h @@ -45,11 +45,14 @@ struct _RrImageCache { */ gint max_resized_saved; - GHashTable *table; - - /* Used to find out if an image file has already been loaded. - Quick file_name -> RrImage lookup. */ - GHashTable *file_name_table; + /*! 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 into an + image set. Provides a quick file_name -> RrImageSet lookup. */ + GHashTable *name_table; }; #endif