Theme defaults

Charles Goodwin <[email protected]> Fri, 08 Aug 2003 11:54:10 +0100
Newsgroups gmane.comp.java.xwt.widgets
Organization XWT Foundation
Message-ID <[email protected]>
The abstraction of theming allows for theme defaults to be easily set up.

A number of properties that can be used by all things themed is 
possible.  This is going to be especially useful given the fact borders 
are being deprecated.

Example - org.xwt.theme.monopoly.defaults:

<xwt>
     <static>
         borderdir = "org.xwt.theme.monopoly.border.";
         imagedir = "org.xwt.theme.monopoly.image.";
         bgcolor = "#d4d0c8";
         fontcolor = "#000000";
         highlightcolor = "#003399";
     </static>
     <template>
         borderdir = static.borderdir;
         ...etc...
     </template>
</xwt>

Thoughts, suggestions, comments?

- Charlie