Re: Clarification of layout proposal

David Crawshaw <[email protected]> Thu, 3 Apr 2003 20:19:17 +1000
Newsgroups gmane.comp.java.xwt.general
Message-ID <[email protected]>
On Thursday, April 3, 2003, at 08:27  PM, Charles Goodwin wrote:

>> This should literally be in the theme. As in,
>> org.xwt.theme.monopoly.mybox
>
> No, because it's common to 90% of themes.  The idea is to make theming
> really easy, yet leave a little leeway for theme creation that varies 
> from
> the norm.  (eg Gtk, Qt, Win32 share 99% of functionality, but MacOS
> differs.)
>
> I don't want to be copying monopoly.focusable for every theme just to
> implement tabbing, just because 1 or 2 themes might not use tabs.  
> (Poor
> example.)  Or why copy the button code when "space" executes a focused
> button for practically every platform in existence.

Okay, then this is a reason for that xwt.lib.theme directory I 
described. We have xwt.lib.focusable, which is the basic stuff. We then 
have xwt.lib.theme.focusable, which is the extended version with 
tabbing that is used by 90% of themes.

It's still theme independent code, and should go in xwt.lib.

d


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