aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2021-05-10 23:02:05 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2021-05-10 23:02:05 +1000
commit7b98798ee4047aec150927d3b5fc6a75f78e0273 (patch)
treec1b72ac86262d57c968bd9c0e091777a7732f0f2 /cocoa/ScintillaCocoa.h
parent8497317864816c0f7a4b5baf3229c7a3336f55d8 (diff)
downloadscintilla-mirror-7b98798ee4047aec150927d3b5fc6a75f78e0273.tar.gz
Implement UpdateBaseElements on Cocoa to update colours to match current system
settings. Trigger UpdateBaseElements when system settings change. This makes Scintilla (by default) track the correct tint to show as the selection background.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r--cocoa/ScintillaCocoa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index d07ffe758..f99c39770 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -247,6 +247,8 @@ public:
void SetFirstResponder(bool isFirstResponder_);
void ActiveStateChanged(bool isActive_);
void SetFocusActiveState();
+ void UpdateBaseElements() override;
+
void WindowWillMove();
// Find indicator