use an alternative macOS themeing approach to support dark-mode

Desktop / LibreOffice - Caolán McNamara [redhat.com] - 22 November 2022 11:12 UTC

checkboxes, radiobuttons and pushbuttons look decent, focus ring works

editboxes work, focus ring doesn't for some reason, so faked that in

spinbuttons work

list and combo boxes work

scrollbars work, though with some degree of overly complicated fakery

tabpanes and tabcontrols work

sliders work

progress bars work

disclosure butttons in listtrees work

a dark mode icon theme is automatically selected under dark mode

Change-Id: I4835c7639f725a0154288440fcad400f618438e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141435

c5396467030e use an alternative macOS themeing approach to support dark-mode
vcl/inc/osx/salinst.h | 8 +
vcl/osx/salframe.cxx | 98 ++++-
vcl/osx/salinst.cxx | 35 +-
vcl/osx/salnativewidgets.cxx | 851 ++++++++++++++++++++++++++-----------------
4 files changed, 616 insertions(+), 376 deletions(-)

Upstream: cgit.freedesktop.org


  • Share