[sugar] rendering test

Bernie Innocenti bernie
Sun Sep 28 13:12:21 EDT 2008


Benjamin Berg wrote:
>> Oh, why can't we just use the gtk icon cache with the rendered pixmaps?
> 
> The thing is that the GTK+ icon cache are just prerendered icons
> (created with a standalone application). In Sugar however, we need a
> more complicated mechanism as the colour of the icons is changed on the
> fly. One would probably need to implement a custom icon cache, that
> prerenders the most often needed colour combinations.

I wonder if we could extend gtk-update-icon-cache to pre-render also our 
svg icons, keyed by the stroke/fill color pair, or maybe just limited to 
the neutral (gray) icons.

-- 
    \___/  Bernie Innocenti - http://www.codewiz.org/
   _| X |  Sugar Labs Team  - http://www.sugarlabs.org/
   \|_O_|  "It's an education project, not a laptop project!"



More information about the Sugar-devel mailing list