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

Home » U++ Library support » Look and Chameleon Technology » Dark theme issues
Re: U++ 2019.1.rc4 released [message #51609 is a reply to message #51608] Fri, 19 April 2019 14:15 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
SetDarkThemeEnabled needs a lot of explanations.

Test scenario.

	Ctrl::SetDarkThemeEnabled();
	Ctrl::SetSkin(ChClassicSkin);


Scenario explanation: app start in dark mode and looks ugly. You select ChClassicSkin to return to a usable UI. Doesn't work.

Interesting behavior:
	Ctrl::SetSkin(ChClassicSkin);
	Ctrl::SetDarkThemeEnabled();


The app looks completely different if I just swap the two statement around.

That's why I'm saying: dark mode needs to be more of its own thing that you can select instead of having such a complex an unmanageable interaction with everything else. Dark mode just needs to set things to dark without having complex system wide repercussions and changing the way some colors are computed.

I'll go over all the widgets and make a complete list of things that need to be updated by dark mode.

So far all frames need to be updated and made (more) Chameleon aware.
 
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: Look of focused button
Next Topic: LabelBox style
Goto Forum:
  


Current Time: Thu Jun 11 22:03:11 GMT+2 2026

Total time taken to generate the page: 0.01188 seconds