For native Cocoa applications they need to be linked against the 10.14 SDK to enable dark mode. How that would work with Java and SWT I don’t know, perhaps link the native dynamic libraries with the new SDK. It is possible to manually handle this if relinking with 10.14 SDK is not enough.
The reason for this is not default is to avoid breaking existing applications. There are applications with hard coded colors which need to be updated to look good with the dark mode. The SDK provides dynamic colors which will change depending on the mode that is used. SWT might need to be updated as well.
There are several good videos from this year’s WWDC which covers dark mode and how to enable that for applications.
— /Jacob Carlborg Hi all,Does anybody already had a chance to try an SWT application on the macOS Mojave preview, especially the dark mode? I've received screenshots from a user of SmartGit and it shows light controls and even a light (system) toolbar. Could it be that there are some changes required on the SWT/native part to make use of the dark mode?-- Best regards,Thomas Singer=============syntevo GmbHhttps://www.syntevo.comhttps://www.syntevo.com/blog_______________________________________________platform-swt-dev mailing listplatform-swt-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visithttps://dev.eclipse.org/mailman/listinfo/platform-swt-dev
|