Re: One Last Description

Charles Goodwin <[email protected]> Thu, 3 Apr 2003 16:41:44 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F6AD@NTFPS1>
> Yeah, what I'm thinking is xwt.theme is a theme, but it's not really a 
> usable theme. The behavior templates are designed for reuse, but the 
> buttons are not really designed to be reused. In fact, all the Abstract 
> Widgets will be replaced by a separate theme, but there won't really be 
> any redundant code in them. It'll all be in the xwt.lib implementation.

This is where your lack of involvement in recent widget development shows in
abundance.

(1) Things like scrollbar, scrollpane, list, anything that's not overly
simple can be broken into two 'libs'.  1 is the generic lib (the slave /
thumb relationship) and 1 is the layout lib (stuff to simplify the creation
of 98% of themes) that you don't want to combine with the generic lib
because you don't want to inhibit the creation of those marvelous unique
themes that are bound to pop up.

Your previous solution was to shove that 'layout lib' stuff into
lib.theme.*, which you now seem to acknowledge wasn't very nice.

Now you're saying to shove it all into .lib?  That's unacceptable.  Either
that or you are saying to have it in xwt.theme but, because of the overlay,
each theme widget will essentially have to 'copy' the code from xwt.theme.
Either that or you flat out refuse to acknowledge the existence of the
cyclic preapply problem which Rod, Andrew and I dealt with first hand
because we refused to use the 'hackish' way around of importing
xwt.standard.* (as opposed to xwt.standard).

Perhaps if you answered my questions rather than ignoring them in favour of
attempting to justify your ideas with ever alternative reasoning, then this
whole fucking discussion would have ended days ago.

> > org.xwt.themes.monopoly.button:
> >
> > <xwt>
> >     <preapply name="xwt.widget.button" />
> 
> Under this model, org.xwt.themes.monopoly.button would preapply 
> xwt.lib.button.
> 
> No theme here (not even the sortof theme xwt.theme) will ever touch 
> xwt.widget. In soviet russia, xwt.widget touches you.

Addressed by 1 above.

Button lib code is merely keypress code which, I'm getting exasporated
telling you, DOES NOT BELONG IN .LIB.  And don't bother telling me we
shouldn't have the generic keypresses ("space" to activate) for things like
button, because I'll flat out lose respect for what you are saying.

I swear I must sound like a parrot because I'm just repeating... I'm just
repeating... I'm just repeating... I'm just repeating...
_______________________________________________
http://lists.xwt.org/listinfo/dev