From 0f95f4cd81c0c0d226ad64193b18d8d956474cf0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 22 Apr 2011 11:07:17 +1000 Subject: INDIC_ROUNDBOX can set alpha of outline. Feature #3290434. From Marko Njezic. --- src/Indicator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Indicator.cxx') diff --git a/src/Indicator.cxx b/src/Indicator.cxx index da9531224..f4e137286 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -72,7 +72,7 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r rcBox.top = rcLine.top + 1; rcBox.left = rc.left; rcBox.right = rc.right; - surface->AlphaRectangle(rcBox, 1, fore.allocated, fillAlpha, fore.allocated, 50, 0); + surface->AlphaRectangle(rcBox, 1, fore.allocated, fillAlpha, fore.allocated, outlineAlpha, 0); } else { // Either INDIC_PLAIN or unknown surface->MoveTo(rc.left, ymid); surface->LineTo(rc.right, ymid); -- cgit v1.2.3