On Thu, May 24, 2001 at 01:54:25AM +0100, Chris Ball wrote:
> Hi, all.
>
> Ed Lea <ed@jellybaby.net> and myself have come up with a quick plugin to
> show the status of your mail spool just above the xmms plugin. It, uh,
> glows prettily when hovered on, too, and launches $mailclient when it's
> clicked.
>
> We'd be grateful for comments, and fixes if they're needed. The archive's
> at http://printf.net/mail.tar.gz - just unpack to plugins/ , compile and
> append 'PLUGINPATH "/mail/mail.so",' to the list in further.c. There's a
> settings.h for sizes/positions/font/mail client.
>
> Evan, we'd be delighted if this was included in further. What do you
> think? All things being well, we'll knock up a cpu load plugin tomorrow,
> as well. Oh, the things you get done when you should be studying for
> finals.. :-)
Wow, nifty...
I never intended to write a mail plugin, because I always would get
distracted by it. However, I think it's a good program to incorporate.
Code comments:
Unfortunately, you hacked this up just moments before I totally changed
the API around. How about... well... I'll fix it up and add it to CVS,
and then you can go from there.
Basically, I'm building a library of functions for further plugins to
use. These functions are now all prototyped in plugin.h.
furtherp_add_event() - add a callback after a timeout
furtherp_remove_event_by_data() - find an event and remove it from the
event queue
furtherp_fade() - fade an object to the given intensity.
multiple calls to fade() will override
each other (hopefully).
Questions:
Should some version of fork_exec() be added?
The fade() function should probably take *two* arguments: an object, and
then some additional data. Well... I'll figure it out.
Give me a few minutes, and I'll report back to the list.
Thanks a lot!
-- Evan Martin - martine@speakeasy.org http://www.speakeasy.org/~martine_______________________________________________ Further-devel mailing list Further-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/further-devel
This archive was generated by hypermail 2.1.2 : Sun Nov 11 2001 - 14:16:15 PST