Re: One Last Description

Charles Goodwin <[email protected]> Thu, 3 Apr 2003 16:31:21 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F6AC@NTFPS1>
So xwt.theme is not a standalone theme?  It has no boxen?

Here's what I see as a problem:

org.xwt.themes.monopoly.button:

<xwt>
    <preapply name="xwt.widget.button" />
...
some box structure
...
</xwt>

xwt.widget.button:

<xwt>
    <preapply name="xwt.theme.button" />
...
some other preapplies
...
</xwt>

How does xwt know not to overlay the preapply 'xwt.theme.button' in
'xwt.widget.button'?  Or, if org.xwt.themes.monopoly.button is directly
preapplies xwt.theme.button, how does it not know to to overlay that
preapply?

-----Original Message-----
From: David Crawshaw [mailto:[email protected]]
Sent: 03 April 2003 16:16
To: [email protected]
Subject: Re: [xwt-dev] One Last Description



On Friday, April 4, 2003, at 01:24  AM, Charles Goodwin wrote:
> Yet you want xwt.theme to be a theme... but if it's a theme, surely
> xwt.theme.button has to preapply focusable, clickable, making the 
> preapplies
> in xwt.widget redundant.

No, xwt.theme.button does not need to preapply focusable, clickable. 
It's a theme in the new sense of the word, that a theme is an 
implementation of the interface defined by the templates in xwt.theme.

xwt.theme.button does not preapply focusable and clickable. A user has 
to do that themselves.

xwt.widget.button preapplies xwt.theme.button, xwt.theme.focusable, and 
xwt.theme.clickable.

My language is not as good as it should have been in that document, 
because I have no time right now. I'll try and clean it up tomorrow, 
but it does have all the ideas I'm thinking in it.

d


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