diff options
author | Neil <nyamatongwe@gmail.com> | 2015-02-10 10:08:32 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-02-10 10:08:32 +1100 |
commit | 7ff487f2dda3411dd4cf34f5616c468435d2ef9b (patch) | |
tree | acbf8ee062cd98f15f99bf8e7738a2de16949953 /src | |
parent | a924da900a2bbd03f95b79363bb0e6618386f3e0 (diff) | |
download | scintilla-mirror-7ff487f2dda3411dd4cf34f5616c468435d2ef9b.tar.gz |
Add INDIC_FULLBOX.
Diffstat (limited to 'src')
-rw-r--r-- | src/Indicator.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 9cbf7e12d..eea5877bb 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -116,9 +116,12 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r surface->LineTo(static_cast<int>(rc.right), static_cast<int>(rcLine.top) + 1); surface->LineTo(static_cast<int>(rc.left), static_cast<int>(rcLine.top) + 1); surface->LineTo(static_cast<int>(rc.left), ymid + 1); - } else if (sacDraw.style == INDIC_ROUNDBOX || sacDraw.style == INDIC_STRAIGHTBOX) { + } else if (sacDraw.style == INDIC_ROUNDBOX || + sacDraw.style == INDIC_STRAIGHTBOX || + sacDraw.style == INDIC_FULLBOX) { PRectangle rcBox = rcLine; - rcBox.top = rcLine.top + 1; + if (sacDraw.style != INDIC_FULLBOX) + rcBox.top = rcLine.top + 1; rcBox.left = rc.left; rcBox.right = rc.right; surface->AlphaRectangle(rcBox, (sacDraw.style == INDIC_ROUNDBOX) ? 1 : 0, |