Home » U++ Library support » Look and Chameleon Technology » Dark theme issues
Re: U++ 2019.1.rc4 released [message #51588 is a reply to message #51587] |
Thu, 18 April 2019 14:13   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
cbpporter wrote on Thu, 18 April 2019 14:02The issues is that TheIDE CtrlCore constantly overrides your changes. In a very counter-intuitive way. Chameleon has been doing this for over a decade now. If you want to correct something, you can't easily do it. If you want to implement your own theme on top of the current dark mode? It is fairly hard. It is fairly hard to force a dark app on a light windows or the other way around. Making TheIDE do the same thing is even harder because it also constantly overrides you changes in many places. The same for code editor.
Chameleon has always been a bit hard to use and counter-intuitive.
Maybe because the problem itself is hard and counterintiutive?
Anyway, missing docs about Chameleon is not helping. Will try to fix than.
Quote:
Quote:SetDarkThemeEnabled tells U++ that application is ready to handle the dark theme. It in fact has any meaning only in windows. If you activate that, app starts following theme setting in Windows 10.
IMHO that is a counter-intuitive and problematic design. SetDarkThemeEnabled means "Set my theme to dark": change colors and skins.
OK, we can argue about the name and I am willing to change it. But I really need that function to do exactly what it does.
Quote:
Why cant U++ detect multiple themes and be coded to religiously follow those themes. So that if you change them, I don't have to track down dozen of places to make things just work.
I would use a design where you have a Theme, all theme aware components just read from the theme, nobody can write, the theme knows if it
Thats centralized model which is not extensible - that is the issue I wanted to avoid.
Quote:
- use the theme (just set a pointer and force the gui to refresh)
void Ctrl::SetSkin(void (*_skin)())
Mirek
[Updated on: Thu, 18 April 2019 14:13] Report message to a moderator
|
|
|
 |
|
Dark theme issues
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 13:38
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 14:13
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 14:54
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 15:01
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 19 April 2019 12:30
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 19 April 2019 13:09
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 19 April 2019 13:11
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 19 April 2019 15:29
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Mon, 22 April 2019 10:33
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Mon, 22 April 2019 20:03
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Tue, 23 April 2019 09:04
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: Klugier on Wed, 24 April 2019 00:57
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Wed, 24 April 2019 08:13
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Fri, 26 April 2019 08:52
|
 |
|
Re: U++ 2019.1.rc4 released
|
 |
|
Re: U++ 2019.1.rc4 released
By: mirek on Thu, 18 April 2019 13:33
|
 |
|
Re: Dark theme issues
By: Oblivion on Fri, 26 April 2019 10:49
|
 |
|
Re: Dark theme issues
By: mirek on Fri, 26 April 2019 11:21
|
Goto Forum:
Current Time: Sun Aug 24 08:19:47 CEST 2025
Total time taken to generate the page: 0.00920 seconds
|