From 3abacf188f611b460ad08818e2339c77f3ad85a5 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 19 Nov 2014 13:48:37 +1100 Subject: Platform overrides for some drawing and behaviour to benefit PLAT_CURSES. From Mitchell Foral. --- src/LineMarker.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/LineMarker.cxx') diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index eb36f1bbc..98e75ca52 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -72,6 +72,11 @@ static void DrawMinus(Surface *surface, int centreX, int centreY, int armSize, C } void LineMarker::Draw(Surface *surface, PRectangle &rcWhole, Font &fontForCharacter, typeOfFold tFold, int marginStyle) const { + if (customDraw != NULL) { + customDraw(surface, rcWhole, fontForCharacter, tFold, marginStyle, this); + return; + } + ColourDesired colourHead = back; ColourDesired colourBody = back; ColourDesired colourTail = back; -- cgit v1.2.3