Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT.COLOR_XXXX


Obviously, COLOR_WIDGET_BACKGROUND isn't cutting it for you, is it?   Please enter a bug report.  The API looks good, but an issue is that in these days of theme managers, colors are not always solid.  For example, the Mac used to paint strippey lines.



"Laurent M." <totolaricot@xxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

07/09/2008 05:18 PM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] SWT.COLOR_XXXX





I noticed that in the carbon SWT implementation, there is no way (other
than a hidden temporary shell followed by a snapshot to a Image and a
getPixel(0,0)) to get access to the brush used to paint a shell. I
needed that to make a toolbar gradient fade into the rest of the panel
without assuming that all the platforms use RGB(232,232,232) like
leopard. Would it make sense to add a SWT.COLOR_SHELL_BACKGROUND system
color? (don't have the time to investige all other platforms).

lm/

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top