X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=obrender%2Fimagecache.h;h=9baf34bb7fc257972c9cfe598c4555b93d1a074f;hb=1c637efcbb26211f0274687beb8f462d5db36cd5;hp=4ad2deaec6371a6f5a76e3f87d6f8cf57c98327d;hpb=73575c10ce3ede1637e4f959b56e1f7d5f110b91;p=chaz%2Fopenbox diff --git a/obrender/imagecache.h b/obrender/imagecache.h index 4ad2deae..9baf34bb 100644 --- a/obrender/imagecache.h +++ b/obrender/imagecache.h @@ -45,7 +45,14 @@ struct _RrImageCache { */ gint max_resized_saved; - GHashTable *table; + /*! A hash table of images 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. */ + GHashTable *name_table; }; #endif