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 » Community » U++ community news and announcements » DarkTheme function parameters changed
Re: DarkTheme function parameters changed [message #60899 is a reply to message #60897] Sun, 06 October 2024 22:32 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Sun, 06 October 2024 15:35
The problem with switching the theme is actually a problem of all those stored colors in all widgets and data. E.g. what to do with AttrText that has some dark adjusted ink stored in it.

U++ can actually switch the theme with immediate response (just check upptst::ChStyle, it does just that - but notice that background in example ArrayCtrl does not change), the reson for restart is actually to make developer's live easier.

But OK, I can add "SkinChanged" virtual method and leave the immense work of reskining color in developer maybe...

Mirek


Thanks for the information. Please don't add "SkinChanged". I was thinking maybe add a layer of indirection (Store reference to a static Color variable instead of a copy of it in Chameleon Style). If it is more complicated than that, it's not worth it.
 
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: SetRect "MegaRect" support...
Next Topic: 2024rc
Goto Forum:
  


Current Time: Sun Jun 08 09:44:12 CEST 2025

Total time taken to generate the page: 0.04843 seconds