Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] GC Code cleanup (2)

see "GC Code cleanup" for the context.. .


I also noticed the pattern of

Color.carbon_new
Color.gtk_new
Color.win32_new

I was wondering why not have a Color.allocate_new

or have both, or have a ColorFactory.allocate_new for each supported platform, such that my portable GC's GC.getBackground() could then call any of these to get a valid platform specific color instance.

[santa?!! saaaannnta... can u tell'em about that one too pleaaasse]

cheers.



Back to the top