summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.h
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-07-23 12:11:14 +0300
committerGitHub <noreply@github.com>2025-07-23 12:11:14 +0300
commit0c89d06ec2441f035c8de4abc9c6545f9fe9ee66 (patch)
tree6441f7220400b099afc10a964fbc215e43576972 /indra/llwindow/llwindowwin32.h
parent08971cd9ac4a865ccc312f8ebe381e620062339c (diff)
#4374 add support for the system theme (light and dark)
Diffstat (limited to 'indra/llwindow/llwindowwin32.h')
-rw-r--r--indra/llwindow/llwindowwin32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowwin32.h b/indra/llwindow/llwindowwin32.h
index 561f07d388..fdaa024363 100644
--- a/indra/llwindow/llwindowwin32.h
+++ b/indra/llwindow/llwindowwin32.h
@@ -246,6 +246,10 @@ protected:
RECT mRect;
RECT mClientRect;
+ void updateWindowTheme();
+ bool isSystemAppDarkMode();
+ bool mCurrentDarkMode { false };
+
struct LLWindowWin32Thread;
LLWindowWin32Thread* mWindowThread = nullptr;
LLThreadSafeQueue<std::function<void()>> mFunctionQueue;