Commit graph

3 commits

Author SHA1 Message Date
Dana Jansens
38c96413b3 pre-calc the sum of a picture added to an RrImage rather than calculating it every time 2008-02-14 15:10:14 -05:00
Dana Jansens
a2e3026d8a add a bunch of comments for images and image caches. and make the number of resized pictures saved in an image tunable per-icon cache. 2008-02-14 15:10:14 -05:00
Dana Jansens
4c7cc1cfa6 Introducing the icon cache.
If an icon is the same as one in the cache, then it uses that one.
icons of different sizes (from the same client) are linked together into
one, and resizes of icons are cached and linked to all the various sizes.
so you only need one icon in memory for all your terminals now. ya!
2008-02-14 15:09:24 -05:00