Battery applet and KIcon

Marco Martin notmart at gmail.com
Mon Feb 15 23:13:44 CET 2010


On Sunday 14 February 2010, Aaron J. Seigo wrote:
> > so what i propose is the following:
> > use the svg for the battery as now, -but-
> > if we are rendering at a certain size, and the element in the svg we want
> > to render is "battery" search another one with the proper prefix, for
> > instance "22-battery" before. it can be a svg, an embedded pixmap
> > whatever (we should really understand what is the more efficient between
> > the two probably) if is found paint that, otherwise paint  the fallback
> > general one.
> 
> this sounds like a good start to a general solution we could apply
> elsewhere. i'd like to put this on the table for tokamak 4 where we can
> properly discuss it and experiment with a number of people with the
> various expertise needed around one or two screens.
an attempt to a general solution is there
http://reviewboard.kde.org/r/2960/
probably has quite a performance hit  doing -so- generic

Cheers,
Marco Martin


More information about the Plasma-devel mailing list