[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Is it possible to make the bettery icons scripted?

Στις 30-09-2007, ημέρα Κυρ, και ώρα 17:42 +0200, ο/η Martin Sourada
> On Sun, 2007-09-30 at 17:29 +0200, Mark wrote:
> > Hey,
> > 
> > I was just looking throught the echo icons [1] and saw the battery
> > icons there (which are extremely nice) but i was wondering if those
> > icons could be made scripted?
> > 
> > This is the idea:
> > The bettery applet shows in the notification applet and requests the
> > bettery icon (called batteryScript for now) with value 60 (0 - 100
> > meaning 0 (%) is empty and 100 (%) is full). 
> > [...]
> > 
> > btw. animating the battery icon would be cool as well. for example
> > adding in some boiling bubbles when charging up.. but that's a
> > completely different idea and probable (?) hard to do with SVG's
> > 
> > This idea is crazy (in good meaning). It could be implemented, but it
> would not be much simple and I wonder if anyone would be willing to
> implement it... BUT, we could at least simplify the creation of the
> icons themselves - imagine you draw a SVG of a battery, in a side file
> you describe which of the elements is to be changed and how and run it
> through some script and voila you have a complete SVG set, now export
> PNGs from it and you're done... IMHO implementation of this is more
> possible...
> As for the animation... it IS possible, but noone implemented its
> support yet anywhere AFAIK (SVG is XML after all...) but it would be too
> much CPU consuming, just completely useless eye-candy (far more useless
> then wobbly windows)...

Maybe useless eye-kandy for the battery icon, but it does open up
exciting possibilities, no? :)

How do other applications do it (eg. with cairo)? Maybe the Desktop
mailing list could help out with this. It might be easier than we think.


Dimitris Glezos
Jabber ID: glezos jabber org, GPG: 0xA5A04C3B

"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]