summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2023-03-17 16:10:39 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2023-03-29 10:34:27 +0000
commit5675937f7564fa5614f7be5aec0d7f20ba91d02c (patch)
treebc1a8265c73e6d0cd9c0967363322e89c7a30d61 /include
parent6d4917db0ec647561c3c02765765491e9ae2d8eb (diff)
Resolves tdf#152184 - Application color should follow system color
This patch reverts the previously added "LibreOffice Dark" application color set and adds it to the automatic colors. Switching between light and dark changes the Automatic color accordingly instead switching to another color scheme. The added System Theme option makes Light/Dark follow the actual OS appearance. Reverts 6dfc49bb6a72bf6bb79167b12f0d2d0c5a155d06 (Introduce dark color set), 546ad5d17d3e363b75337c336cfb2b2f8acc55e3 (color scheme translatable), 9f0cf00d29298ed55737928ec4dddc50ac850cd8 (Update view options string based on theme) Change-Id: Ibf491f2e510fac5f1d27a7166560c4ec281d98d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149059 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/settings.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index de6a4b903c07..9292e10e45cf 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -648,7 +648,8 @@ public:
// 0 auto, 1 light, 2, dark
static void SetDarkMode(int nMode);
static int GetDarkMode();
-
+ static void SetAppColorMode(int nMode);
+ static int GetAppColorMode();
bool operator ==( const MiscSettings& rSet ) const;
bool operator !=( const MiscSettings& rSet ) const;
};