I know it is soon to be deprecated but I am looking at enhancing SWT
on Mac OS / Carbon. At the moment i am adding support for Sheets more
specifically looking at modifying MessageBox to optionally use sheets.
I know that you are all busy with Ganymede, but would it be possible
to create a SWT.NATIVE_LOOK style constant that would be a general
flag for branching off from the common SWT look to use whatever native
trickery exist on all supported platform.
for eg:
MessageBox mb = new MessageBox(parent, SWT.OK | SWT.ICON_INFORMATION |
SWT.NATIVE_LOOK);
would make the message box use a Mac OS sheet.
Toolbar tb = new Toolbar(..... | SWT.NATIVE_LOOK);
would use the native toolbar.
If nothing exist on the platform, the style would simply be ignored.
so... granted that you'd be interested in this, what value should this
constant have? (I can't figure the heuristic you follow to decide how
to allocate these constants).
Thx.