From c7c7469093e1d6fcdf99b7caa6dad627538dccc6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 14 Feb 2009 10:59:38 +0000 Subject: Feature #2586290 INDIC_ROUNDBOX alpha transparency setting from Todd Whiteman of ActiveState. --- src/Editor.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 8910a5b53..c4c3a8179 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7229,6 +7229,16 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_INDICGETUNDER: return (wParam <= INDIC_MAX) ? vs.indicators[wParam].under : 0; + case SCI_INDICSETALPHA: + if (wParam <= INDIC_MAX && lParam >=0 && lParam <= 100) { + vs.indicators[wParam].fillAlpha = lParam; + InvalidateStyleRedraw(); + } + break; + + case SCI_INDICGETALPHA: + return (wParam <= INDIC_MAX) ? vs.indicators[wParam].fillAlpha : 0; + case SCI_SETINDICATORCURRENT: pdoc->decorations.SetCurrentIndicator(wParam); break; -- cgit v1.2.3