Re: One Last Description

David Crawshaw <[email protected]> Fri, 4 Apr 2003 12:38:32 +1000
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
On Friday, April 4, 2003, at 12:26  PM, Andrew Kohlsmith wrote:
> ... I'm getting confused.  Originally you and Adam wanted to have the 
> system
> work without an xwt.theme(), and now we've got a system where 
> xwt.standard is
> the standard (simple) theme, which means that if the start of the app
> includes xwt.standard, will work just fine.

Uh oh, this isn't what I was trying to say. And I don't think it's the 
design that is on the wiki.

An app developer would use two interfaces for widgets: xwt.widget and 
xwt.theme. An app developer would never use xwt.standard (assuming it's 
a theme), just as they would never use org.xwt.theme.monopoly. These 
are overlayed on top of xwt.theme.

The only thing I meant when talking about overlay() is it would be nice 
if it worked without it. But that would require a theme in xwt.theme. 
For the sake of compromise, Adam just suggested we defer that decision.

overlay() has always been critical to applying other themes. Sorry if 
I've made this confusing. This is probably where the circular depdency 
consider poped up from.

xwt.widget - preapplies - xwt.theme
xwt.theme - is just a stub
org.xwt.theme.simple - preapplies - xwt.lib
org.xwt.theme.simple - overlays - xwt.theme

An app developer then uses xwt.widget and xwt.theme for their interface.

d


_______________________________________________
http://lists.xwt.org/listinfo/dev