From 1323a5c0d0229dbbf0ca977c04e350fe0ba442e2 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 22 Jan 2015 15:11:02 +1100 Subject: Add INDIC_COMPOSITIONTHIN indicator. --- src/Indicator.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Indicator.cxx b/src/Indicator.cxx index d8ad64ed6..daf62aa02 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -155,6 +155,9 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r } else if (style == INDIC_COMPOSITIONTHICK) { PRectangle rcComposition(rc.left+1, rcLine.bottom-2, rc.right-1, rcLine.bottom); surface->FillRectangle(rcComposition, fore); + } else if (style == INDIC_COMPOSITIONTHIN) { + PRectangle rcComposition(rc.left+1, rcLine.bottom-2, rc.right-1, rcLine.bottom-1); + surface->FillRectangle(rcComposition, fore); } else { // Either INDIC_PLAIN or unknown surface->MoveTo(static_cast(rc.left), ymid); surface->LineTo(static_cast(rc.right), ymid); -- cgit v1.2.3