Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1212
Registered: March 2007
Senior 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: Fri Apr 19 07:46:43 CEST 2024

Total time taken to generate the page: 0.05901 seconds