Re: One Last Description

Andrew Kohlsmith <[email protected]> Thu, 3 Apr 2003 22:12:48 -0500
Newsgroups gmane.comp.java.xwt.general
Organization Benshaw Canada
Message-ID <[email protected]>
> What's wrong with merging xwt.theme and your proposed xwt.standard?
> Specifically, what functionality would be lost if we did this?

Code duplication.  If xwt.theme contains code, that code has to be copied for 
any theme that wants to use similar code.  IMO xwt.theme should contain no 
code.  It's next to impossible to _just_ preapply and have a working theme 
since you are going to be writing traps for _action, _hover, _active, etc. to 
alter how the widget looks under those conditions...

> By the way, I think it's a really bad idea to use the term
> "xwt.standard" for this.  It's hugely confusing since xwt.standard is
> (currently) the namespace for all the standard widgets, not the
> standard theme.  You should pick another name to avoid confusion.

Well whatever you want to call it is cool, I'm just picking what was discussed 
before.  :-)

> Yes.  When you overlay something on xwt.theme, it will have no effect
> on your app, because you're pulling all your widgets from
> xwt.standard.

I posted a reply in that FINAL CALL thread...  I'll try to keep all responses 
over there.

Regards,
Andrew

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