diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-07-22 01:53:42 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-17 16:31:25 +0100 |
commit | 4ccbe3620eb1cd354ce66f51730d7baf9b1a5f81 (patch) | |
tree | 29c816a66838cab9b9c452a0d20669355baac24c /widget/TextEventDispatcher.cpp | |
parent | d6d1c2dad1079a09a131a94c87c78aca9aa0d1da (diff) | |
download | UXP-4ccbe3620eb1cd354ce66f51730d7baf9b1a5f81.tar UXP-4ccbe3620eb1cd354ce66f51730d7baf9b1a5f81.tar.gz UXP-4ccbe3620eb1cd354ce66f51730d7baf9b1a5f81.tar.lz UXP-4ccbe3620eb1cd354ce66f51730d7baf9b1a5f81.tar.xz UXP-4ccbe3620eb1cd354ce66f51730d7baf9b1a5f81.zip |
Add a signal preference for dynamic color changes to adjust "brighttext" in the front-end.
This makes all relevant toolbars pick up the fact that the Windows accent color has changed and should check and if necessary update the "brighttext" property on them for styling of controls.
This is a bit of a hack-around to the fact that there is no real easy way otherwise to notify the front-end of color changes without needing a change in focus of the window.
There is a deliberate 300ms delay built in, because otherwise the styles might not have propagated yet, resulting in brighttext not being updated properly.
Diffstat (limited to 'widget/TextEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions