changeset 1819:4eda6ba5b5d8 background-mode

More sensible name
author Chris Cannam
date Mon, 20 Jan 2020 17:17:45 +0000
parents c5ee0746bdef
children fc18ce2d99d7
files system/System.cpp system/System.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/system/System.cpp	Fri Jan 17 21:36:07 2020 +0000
+++ b/system/System.cpp	Mon Jan 20 17:17:45 2020 +0000
@@ -339,9 +339,9 @@
 }
 
 bool
-OSThemeIsDark()
+OSReportsDarkThemeActive()
 {
-    SVCERR << "OSThemeIsDark() called" << endl;
+    SVCERR << "OSReportsDarkThemeActive() called" << endl;
 #ifdef _MSC_VER
     using namespace winrt::Windows::UI::ViewManagement;
     UISettings settings;
--- a/system/System.h	Fri Jan 17 21:36:07 2020 +0000
+++ b/system/System.h	Mon Jan 20 17:17:45 2020 +0000
@@ -166,7 +166,7 @@
 // Return true if the OS desktop is set to use a dark mode
 // theme. Return false if it is set to a light theme or if the theme
 // is unknown.
-extern bool OSThemeIsDark();
+extern bool OSReportsDarkThemeActive();
 
 extern void StoreStartupLocale();
 extern void RestoreStartupLocale();