From 54dd5ec68d550408be99118c59df2a91c33183f7 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Sun, 19 Dec 2010 08:09:09 +0000 Subject: Added transparency to black selection box. --- muse2/muse/arranger/pcanvas.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'muse2/muse/arranger/pcanvas.cpp') diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 5b914952..ddc7dfff 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -1455,7 +1455,11 @@ void PartCanvas::drawItem(QPainter& p, const CItem* item, const QRect& rect) QPen pen(config.partColors[i], 2, clone ? Qt::DashLine : Qt::SolidLine); pen.setCosmetic(true); p.setPen(pen); - p.setBrush(Qt::black); + //p.setBrush(Qt::black); + QColor c(Qt::black); + // Hm, put some kind of lower limit? If so do that globally to the adjustment. + c.setAlpha(config.globalAlphaBlend); + p.setBrush(c); p.drawRect(r); } else { -- cgit v1.2.3