aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-02-10 10:08:32 +1100
committerNeil <nyamatongwe@gmail.com>2015-02-10 10:08:32 +1100
commiteeed33bc79f4c3532ae8f504060db8947520da87 (patch)
treec9ea452cffae66906ef953a0fddeccce44ba25d6 /src
parent3824ea2ffcefbd824bef9e64a511983c7eea0cb7 (diff)
downloadscintilla-mirror-eeed33bc79f4c3532ae8f504060db8947520da87.tar.gz
Add INDIC_FULLBOX.
Diffstat (limited to 'src')
-rw-r--r--src/Indicator.cxx7
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,