From: John P . Looney (valen at domain tuatha.org)
Date: Wed 08 Sep 1999 - 12:11:46 IST
On Wed, Sep 08, 1999 at 11:57:43AM +0100, Martin Feeney mentioned:
> Perhaps Java's JFC/Swing Pluggable Look and Feel is the sort of model that
> would be appropriate. It's a two-level pluggable architecture.
> The first level is the actual look and feel - i.e. code to draw the
> widgets and handle key/mouse events. These can be left to the basic look
> and feel or overridden to provide any or all of your new L&F. Level 2 is
> what they call themes, you can supply a theme for any particular L&F which
> is just a fancy way of generating a hashtable of name-value pairs for
> colours, fonts, icons, etc. which are used by the drawing functions in the
Sounds exactly like the way GTK works. You have your themes, which are
just is a simple ~/.gtkrc, and you have engines, which replace the code
which makes the widgets do their thing. You have a Windows95, a Pixmap and
a Metal engine, among others. KDE are doing a similar thing. You could have
a KDE engine that works just like the GTK widget set...but the internals
would be completely different, from the programmers point of view.
-- Microsoft. The best reason in the world to drink beer.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:32 GMT