Re: One last description

Charles Goodwin <[email protected]> Thu, 3 Apr 2003 17:04:06 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F6B0@NTFPS1>
Okay, I want everybody to say yay/nay to this:

My idea of what should go in the xwt.stuff dirs is the following:

1) generic code aka lib 
 - everybody agrees

2) code to ease theme creation
 - David seems to think that this and 1 are the same, they are not... if you
check out mixdown and have a look at xwt.standard.widgets.scrollpane and
xwt.standard.widgets.lib.scrollpane, you can easily identify why they are 2
separate xwts.  The widgets.lib.scrollpane code is simply the code that
makes scrollpane work.  The widgets.scrollpane code is layout code that
makes childsplay of creating a scrollpane for a theme.
 - If you tell me this is not needed then I'm wasting my time and this will
be my last mail regarding the new widget set layout.  I'll let David /
whoever else gets in on transfering the widget set find out with your own
blood, sweat and tears, just how much hard work creating themes will be
without it.
 - Things like common keystrokes for widgets belong here, not in .lib

3) preapply code to give correct behaviour
 - David and I agree (shock, horror) that the preapplies should go outside
of the theme creation and lib code.  This is to enable widgets to be very
similar yet subtly different in their behaviour.  (Eg a button like widget
that doesn't preapply focusable.)

4) a standard theme
 - A simple example of how to create a theme using (2) and (3) and the
default theme to load should an application developer not specify otherwise.

That's it, I've said my bit over and over, like a parrot.  David appears to
have had his fill (though I believe it was his tiredness talking.)  I'm
simply going to bide my time until a decision is made, and instead of
arguing make progress on the widget set.
_______________________________________________
http://lists.xwt.org/listinfo/dev