]> Dogcows Code - chaz/openbox/blobdiff - obrender/imagecache.h
Rework the code provided by Kadlcik Libor for loading/showing icons in Openbox menus.
[chaz/openbox] / obrender / imagecache.h
index a61fae67438f9b4425ce05e17275016d6a30a374..9baf34bb7fc257972c9cfe598c4555b93d1a074f 100644 (file)
@@ -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 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
This page took 0.021231 seconds and 4 git commands to generate.