Home » U++ Library support » Look and Chameleon Technology » New dark theme thread
Re: New dark theme thread [message #54862 is a reply to message #54858] |
Wed, 23 September 2020 00:48   |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Aquilarubra,
As far as I know dark theme is inherit from operating system. So, if you set in your OS theme that is dark then upp app should use it. Please noticed that it only happen on app loading. If you modify it on runtime then it doesn't work. It is doable, but require some changes on uppsrc side.
So, what "Ctrl::SetDarkThemeEnabled();" do. From the documentation we can read:
Quote:
Hints coloring and skinning algorithms that the application is ready to work in dark theme mode. Currently this enables dark theme in Windows (with other platforms dark theme is enabled by default). Default value is true. Disabling dark theme has to be done before GUI_APP_MAIN, e.g. in INITBLOCK.
So, it will do not transform your app into dark especially on Linux (I do not test on Windows). This should be enable on OS level and then app should be launch and inherit this settings from OS.
Klugier
U++ - one framework to rule them all.
[Updated on: Wed, 23 September 2020 00:49] Report message to a moderator
|
|
|
 |
|
New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
By: mr_ped on Mon, 22 April 2019 22:22
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
|
 |
|
Re: New dark theme thread
By: Klugier on Wed, 23 September 2020 00:48
|
 |
|
Re: New dark theme thread
By: mirek on Wed, 23 September 2020 17:30
|
 |
|
Re: New dark theme thread
By: Tom1 on Tue, 21 December 2021 16:32
|
 |
|
Re: New dark theme thread
By: Tom1 on Mon, 03 January 2022 15:28
|
 |
|
Re: New dark theme thread
By: mirek on Wed, 05 January 2022 09:13
|
 |
|
Re: New dark theme thread
By: Tom1 on Wed, 05 January 2022 13:18
|
 |
|
Re: New dark theme thread
By: Tom1 on Wed, 05 January 2022 16:15
|
 |
|
Re: New dark theme thread
By: mirek on Thu, 06 January 2022 08:44
|
 |
|
Re: New dark theme thread
By: mirek on Thu, 06 January 2022 08:46
|
 |
|
Re: New dark theme thread
By: Tom1 on Thu, 06 January 2022 12:34
|
 |
|
Re: New dark theme thread
By: mirek on Thu, 06 January 2022 19:48
|
 |
|
Re: New dark theme thread
By: Tom1 on Fri, 07 January 2022 16:51
|
 |
|
Re: New dark theme thread
By: mirek on Sat, 08 January 2022 14:23
|
 |
|
Re: New dark theme thread
By: Tom1 on Sat, 08 January 2022 17:16
|
 |
|
Re: New dark theme thread
By: Tom1 on Wed, 12 January 2022 09:56
|
 |
|
Re: New dark theme thread
By: Tom1 on Thu, 13 January 2022 13:22
|
 |
|
Re: New dark theme thread
By: mirek on Sun, 16 January 2022 19:15
|
 |
|
Re: New dark theme thread
By: Tom1 on Mon, 17 January 2022 08:50
|
 |
|
Re: New dark theme thread
By: mirek on Mon, 17 January 2022 17:37
|
 |
|
Re: New dark theme thread
By: Tom1 on Tue, 18 January 2022 15:32
|
 |
|
Re: New dark theme thread
By: Alboni on Tue, 17 May 2022 15:16
|
 |
|
Re: New dark theme thread
By: Tom1 on Tue, 17 May 2022 17:54
|
 |
|
Re: New dark theme thread
By: Alboni on Wed, 18 May 2022 15:51
|
 |
|
Re: New dark theme thread
By: superdev on Fri, 26 August 2022 19:35
|
Goto Forum:
Current Time: Thu May 22 04:25:18 CEST 2025
Total time taken to generate the page: 0.02473 seconds
|