]> icculus.org git repositories - mikachu/openbox.git/commit
Big rework of image.c and the image cache system.
authorDana Jansens <danakj@orodu.net>
Tue, 21 Sep 2010 18:23:57 +0000 (14:23 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 19:19:22 +0000 (14:19 -0500)
commit001f174cf5b06e8725d46a659ef5416c241b45dd
tree44673f3a72f739d4b26e9f997f51d0ea38459369
parentf458d66c7e2f7ea16a3c57b7fa00c9992ec4592c
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.
obrender/image.c
obrender/image.h
obrender/imagecache.c
obrender/imagecache.h
obrender/render.h
openbox/client.c
openbox/menu.c