[Further-devel] cvs commit

From: Evan Martin (eeyem@u.washington.edu)
Date: Sat Jul 28 2001 - 11:43:52 PDT


I removed every instance of settings.h from CVS...

...'cause I made a semiworking conf system!

Currently, everything's been relocated to further.c.
To change settings edit the stuff near the top of the file, in the
function settings_temp_hack(). That will eventually be read from a conf
file, but I figured it'd be better to do this in two stages.

Effectively, it works like this:
There's a simple hierarchy of "scopes".
+ system
+-- clock
+-- switcher
+-- etc.

When a plugin tries to read a variable, it looks in its own scope first
before trying its parents.

What this means:
If you set the system "basefont", every plugin will use that font.
However, if you then set the clock's "basefont", it'll get its own font.

This is illustrated in settings_temp_hack(), but I don't ask you to
understand how it all works, 'cause all you'll mostly need to do is
modify a few variables.

A fun thing to try: use a bright image for "background" and then set
"basecolor" to a shade of black.

Additionally, I moved the mail check down to the bottom left... just
'cause it was getting in the way of the clock. Positions will eventually be
configurable, too.

Have fun, and let me know if you find any bugs...

-- 
Evan Martin - martine@speakeasy.net
 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