Commit graph

3 commits

Author SHA1 Message Date
Dana Jansens
1d62584742 pre-calc the sum of a picture added to an RrImage rather than calculating it every time 2008-02-14 11:44:51 +01:00
Dana Jansens
0cd9986f87 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 11:44:51 +01:00
Dana Jansens
ea435b99a8 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 11:44:28 +01:00