From e062a32ba9c5380181de5a4eaf5f905de2cb4966 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 1 May 2009 20:59:17 +0000 Subject: [PATCH] When there's an axis set the low color to the panel background. This causes the axis legends to be antialiased against the right color. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30542 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debuganalyzer/gui/chart/Chart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/debuganalyzer/gui/chart/Chart.cpp b/src/apps/debuganalyzer/gui/chart/Chart.cpp index b090507fab..fc38150797 100644 --- a/src/apps/debuganalyzer/gui/chart/Chart.cpp +++ b/src/apps/debuganalyzer/gui/chart/Chart.cpp @@ -223,11 +223,11 @@ printf("Chart::Draw((%f, %f) - (%f, %f))\n", updateRect.left, updateRect.top, up // clear the axes background if (fLeftAxis.axis != NULL || fTopAxis.axis != NULL || fRightAxis.axis != NULL || fBottomAxis.axis != NULL) { - SetHighColor(background); + SetLowColor(background); BRegion clippingRegion(Bounds()); clippingRegion.Exclude(fChartFrame); ConstrainClippingRegion(&clippingRegion); - FillRect(Bounds()); + FillRect(Bounds(), B_SOLID_LOW); ConstrainClippingRegion(NULL); }