From fef04a18f5806f0842a1b97d3548738522ee1e33 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 10 Oct 2023 10:10:31 +1100 Subject: Share definition of colour used for IME indicators on most platforms. --- win32/ScintillaWin.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index b43503615..be910d0f9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -615,10 +615,10 @@ ScintillaWin::ScintillaWin(HWND hwnd) { HMODULE user32 = ::GetModuleHandleW(L"user32.dll"); SetCoalescableTimerFn = DLLFunction(user32, "SetCoalescableTimer"); - vs.indicators[IndicatorUnknown] = Indicator(IndicatorStyle::Hidden, ColourRGBA(0, 0, 0xff)); - vs.indicators[IndicatorInput] = Indicator(IndicatorStyle::Dots, ColourRGBA(0, 0, 0xff)); - vs.indicators[IndicatorConverted] = Indicator(IndicatorStyle::CompositionThick, ColourRGBA(0, 0, 0xff)); - vs.indicators[IndicatorTarget] = Indicator(IndicatorStyle::StraightBox, ColourRGBA(0, 0, 0xff)); + vs.indicators[IndicatorUnknown] = Indicator(IndicatorStyle::Hidden, colourIME); + vs.indicators[IndicatorInput] = Indicator(IndicatorStyle::Dots, colourIME); + vs.indicators[IndicatorConverted] = Indicator(IndicatorStyle::CompositionThick, colourIME); + vs.indicators[IndicatorTarget] = Indicator(IndicatorStyle::StraightBox, colourIME); } ScintillaWin::~ScintillaWin() { -- cgit v1.2.3