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 #51478 is a reply to message #51476] Fri, 29 March 2019 16:31 Go to previous messageGo to previous message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
Hi Mirek,

On Windows 10 it all still works (after adding Ctrl::SetDarkThemeEnabled(); ).

On Windows 7 the symptoms I mentioned in my last message remain.

Another thing I noticed is that Windows 10 1809 does not alter any icon color at all (or maybe just pure black/white) when switching between light and dark themes. (Please take a look at Windows "File Explorer" toolbar icons while toggling between Light and Dark app modes on Windows > Settings > Personalization > Colors.) For this to work properly, all icons must be colored in a way that prevents them from sinking into the background. Sorry to bring this up this late down the road, but after using TheIDE with dark theme for a while, I have now noticed that I have some difficulty to identify certain TheIDE icons (e.g. Build and Rebuild All on the toolbar) in their dark variant. This may be related to the fact that I have red-green colorblindness (as about 8 % of males do). Using light theme icons on dark background would in most cases work better for me after all. Of course there are some icons that would need to be changed in order to be visible on both dark and light backgrounds. This involves changing from black to mid-grey to support both white and black backgrounds with a single icon.

I tried this by commenting out the following code in function Iml::Get(int i) in Iml.cpp:
//					if(gui_image && IsDark(SColorPaper()))
//						m.image = DarkTheme(m.image);


The result is easier for me to work with. Some icons (the dark ones including, but not limited to compile (C++) and preprocess (#) ) would need a new lighter color tone that is closer to mid range intensity.

Best regards,

Tom
 
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: Thu Jun 04 04:24:37 GMT+2 2026

Total time taken to generate the page: 0.00922 seconds