aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Indicator.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-16 13:49:03 +1000
committernyamatongwe <unknown>2013-04-16 13:49:03 +1000
commit6af21a0ecb134a6cdeb1e9083b5c5064b5351bff (patch)
tree94262fea9feda859723f122b4a0f0e321681e939 /src/Indicator.cxx
parent5fb251b685ce02476ca250d43dd56b92e538cc44 (diff)
downloadscintilla-mirror-6af21a0ecb134a6cdeb1e9083b5c5064b5351bff.tar.gz
Add indicator INDIC_COMPOSITIONTHICK, a thick low underline, to mimic an
appearance used for Asian language input composition.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r--src/Indicator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index da75cbb85..ac7435156 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -152,6 +152,9 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r
surface->FillRectangle(rcDot, fore);
x += 2;
}
+ } else if (style == INDIC_COMPOSITIONTHICK) {
+ PRectangle rcComposition(rc.left+1, rcLine.bottom-2, rc.right-1, rcLine.bottom);
+ surface->FillRectangle(rcComposition, fore);
} else { // Either INDIC_PLAIN or unknown
surface->MoveTo(rc.left, ymid);
surface->LineTo(rc.right, ymid);