diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-12 20:38:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-16 22:16:01 +0100 |
commit | a3f400886768bf95fbd8e6b236e11d7aac393b96 (patch) | |
tree | 29d71aed9e5ca0e6045cac00aaba5e415acc53a5 /bin | |
parent | 45f9c1862bd205f620ce21663a8cd91119b9b2d5 (diff) |
Related: tdf#118320 enable some windows dark theme support
If experimental mode is enabled and only for windows >= 10.0.18362
Toggling from dark to light mode is detected, and getting some
suitable colors for dark mode works.
The titlebar will toggle into dark/light mode successfully.
DrawThemeBackground does something sensible for buttons and scrollbar at
least, comboboxes can be forced to work. SpinButtons are less
successful. Menubar and toolbar just bodged to draw a solid backcolor.
Notebooks/TabControls don't respect the theme.
Its possible it makes more sense to not try and use the windows control
drawings apis and just set some dark colors and draw with the old
built-in vcl widget rendering or alternative.
Change-Id: Ic7927fb9af7ec94444d9de6e0204560e2789be46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131453
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions