From 55a25ce56daec5128348ec882f773044dc9dfa86 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 19 Jan 2008 03:07:58 +0000 Subject: Added SC_MARK_LEFTRECT margin marker. --- src/LineMarker.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index ab0511654..f79c3c085 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -299,6 +299,10 @@ void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharac }; surface->Polygon(pts, sizeof(pts) / sizeof(pts[0]), fore.allocated, back.allocated); + } else if (markType == SC_MARK_LEFTRECT) { + PRectangle rcLeft = rcWhole; + rcLeft.right = rcLeft.left + 4; + surface->FillRectangle(rcLeft, back.allocated); } else { // SC_MARK_FULLRECT surface->FillRectangle(rcWhole, back.allocated); } -- cgit v1.2.3