U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » DarkTheme support
Re: Please check the list of 2019.1 changes [message #51476 is a reply to message #51475] Fri, 29 March 2019 10:54 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Well, dark theme with Win 7 is completely different path (as there the colors are comming from the system).

Anyway, I have just finished another iteration of dark theme issues, so please recheck everything and report.

First of all, immediately after delivering one release on my app with dark theme support, I had reported it as error Smile

So now you have to activate simulated Win10 dark theme by Ctrl::SetDarkThemeEnabled at the start of GUI_APP_MAIN.

Another new features:

bool IsDarkTheme();

Color AdjustIfDark(Color); // adjusts color for dark them if it is active

Also, previously deprecated functions SWhite, SRed().... are now reactivated and represent "dark theme adjusted colors". So if you want to put Red color somewhere, if you use SRed, it will be accordingly converted in dark mode (somewhat pink-ish).

I will try to write some docs about dark theme support soon... (probably as well as about UHD).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Please check the list of 2019.1 changes
Next Topic: Getting hands dirty with Win32 TLS
Goto Forum:
  


Current Time: Sun Sep 13 11:29:23 GMT+2 2026

Total time taken to generate the page: 0.01635 seconds