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 /gtk/ScintillaGTK.cxx | |
parent | 3cfe8e087cea56ab445a3bf1da3762e5c224c374 (diff) | |
download | scintilla-mirror-fef04a18f5806f0842a1b97d3548738522ee1e33.tar.gz |
Share definition of colour used for IME indicators on most platforms.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rwxr-xr-x | gtk/ScintillaGTK.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 053202a06..4838bd58a 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -704,10 +704,11 @@ void ScintillaGTK::Init() { timers[tr].reason = static_cast<TickReason>(tr); timers[tr].scintilla = this; } - vs.indicators[SC_INDICATOR_UNKNOWN] = Indicator(IndicatorStyle::Hidden, ColourRGBA(0, 0, 0xff)); - vs.indicators[SC_INDICATOR_INPUT] = Indicator(IndicatorStyle::Dots, ColourRGBA(0, 0, 0xff)); - vs.indicators[SC_INDICATOR_CONVERTED] = Indicator(IndicatorStyle::CompositionThick, ColourRGBA(0, 0, 0xff)); - vs.indicators[SC_INDICATOR_TARGET] = Indicator(IndicatorStyle::StraightBox, ColourRGBA(0, 0, 0xff)); + + vs.indicators[SC_INDICATOR_UNKNOWN] = Indicator(IndicatorStyle::Hidden, colourIME); + vs.indicators[SC_INDICATOR_INPUT] = Indicator(IndicatorStyle::Dots, colourIME); + vs.indicators[SC_INDICATOR_CONVERTED] = Indicator(IndicatorStyle::CompositionThick, colourIME); + vs.indicators[SC_INDICATOR_TARGET] = Indicator(IndicatorStyle::StraightBox, colourIME); fontOptionsPrevious = FontOptions(PWidget(wText)); } |