diff options
author | nyamatongwe <devnull@localhost> | 2009-02-14 10:59:38 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-02-14 10:59:38 +0000 |
commit | fa4bd51d2caec16b782f136fa4ffa53a89b9b804 (patch) | |
tree | 2b2d33d2c699bd0d35185e67803738c7ec377c0b /src/Editor.cxx | |
parent | 220bd0dc5578f5b7814e4deae12b077d27b06b16 (diff) | |
download | scintilla-mirror-fa4bd51d2caec16b782f136fa4ffa53a89b9b804.tar.gz |
Feature #2586290 INDIC_ROUNDBOX alpha transparency setting from Todd
Whiteman of ActiveState.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
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; |