Plug-In forms are no longer styled when using dark mode

patch

Member³
Can this option either be reverted or put behind a preference setting? If I open one of the plugin forms now they are too bright compared to the dark mode I am using.
I actually liked the forms being styled according to my preference.
 
Unfortunately the styled Plug-In dialogs do not always work correctly. For example a Tab Page Control in dark mode is displayed with black text on a dark background. We will have to create a Plug-In function to indicate whether a Plug-In supports styles.
 
In Beta 9 we have added 2 Plug-In functions for style support:

C++ BOOL SupportsStyles
Delphi function SupportsStyles: Bool
Indicates if the PlugIn supports color styles (themes). If this function is not declared or returns false, the dialogs of the PlugIn will be displayed in default Windows light style.

C++ void IDE_GetCurrentStyle(BOOL *DarkMode, char **StyleName)
Delphi procedure IDE_GetCurrentStyle(var DarkMode: Bool; var StyleName: PAnsiChar)
Indicates if the IDE is using dark color mode, and which style is used ('Sky', 'Glow', 'Midnight Express Yellow', and so on).
 
Back
Top