From 5dcfe356280daa94d68cdeb3ae4953ca67cc44a3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 26 Jul 2003 00:59:44 +0000 Subject: Invisible indicator INDIC_HIDDEN. --- src/Indicator.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Indicator.cxx b/src/Indicator.cxx index 580e9f86d..1e386b68e 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -55,6 +55,8 @@ void Indicator::Draw(Surface *surface, PRectangle &rc) { } else if (style == INDIC_STRIKE) { surface->MoveTo(rc.left, rc.top - 4); surface->LineTo(rc.right, rc.top - 4); + } else if (style == INDIC_HIDDEN) { + // Draw nothing } else { // Either INDIC_PLAIN or unknown surface->MoveTo(rc.left, ymid); surface->LineTo(rc.right, ymid); -- cgit v1.2.3