diff options
author | Neil <nyamatongwe@gmail.com> | 2023-10-10 10:10:31 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-10-10 10:10:31 +1100 |
commit | fef04a18f5806f0842a1b97d3548738522ee1e33 (patch) | |
tree | e23a181f1a327d39ceea8168b4db6c4b7da090e4 /win32 | |
parent | 3cfe8e087cea56ab445a3bf1da3762e5c224c374 (diff) | |
download | scintilla-mirror-fef04a18f5806f0842a1b97d3548738522ee1e33.tar.gz |
Share definition of colour used for IME indicators on most platforms.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/ScintillaWin.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<SetCoalescableTimerSig>(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() { |