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 » U++ Library support » Look and Chameleon Technology » Dark theme issues
Re: U++ 2019.1.rc4 released [message #51671 is a reply to message #51662] Wed, 24 April 2019 11:37 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
mirek wrote on Wed, 24 April 2019 09:13

Well, it is worth to keep in mind that the whole mechanism of dark theme in Windows is probably temporary solution. What we are doing there is to emulate dark mode even as Microsoft does not support it for good old win32 applications. It is very likely that this will change and the whole emulation and color conversion for S colors will be done by Win32.

I wouldn't place my bets on that. And dark mode is included now, so you literally opened Pandora's box. This will be for me a two week 6 hours/day project.

I'm trying to do some minimal changes to U++ that will fix some visual issues while improving usability and compatibility with my themes.

So...

Issue #1: SetDarkThemeEnabled

Problem: SetDarkThemeEnabled is IMHO poorly names, because it is more like EnableDarkModeEmulationByColorInvertingIfWindowsIsInDarkMode .

As a compromise, I added an enum that by default behaves the same, but you can force dark mode or light mode at will.

I tested things and they look compatible.

I would like this change or something that achieves the same results. Feel free to rename stuff.

Thank you!

Attached files in zip.

PS: Do you prefer a better way for patch submission?
  • Attachment: patch1.zip
    (Size: 24.45KB, Downloaded 285 times)

[Updated on: Wed, 24 April 2019 12:04]

Report message to a moderator

 
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: Sun Jul 06 17:16:30 CEST 2025

Total time taken to generate the page: 0.03791 seconds