From 84c15214c569e45d449a456181135591cf92fbd1 Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Thu, 6 Sep 2007 15:50:53 +0000 Subject: [PATCH] Blend the window labels in/out with the effect svn path=/trunk/KDE/kdebase/workspace/; revision=709129 --- effects/presentwindows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index dfb52df50e..8ac9478a80 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -198,7 +198,7 @@ void PresentWindowsEffect::paintWindow( EffectWindow* w, int mask, QRegion regio double centerx = w->x() + data.xTranslate + w->width() * data.xScale * 0.5f; double centery = w->y() + data.yTranslate + w->height() * data.yScale * 0.5f; int maxwidth = (int)(w->width() * data.xScale - 20); - double opacity = (0.7 + 0.2*windata.hover) * data.opacity; + double opacity = (0.7 + 0.2*windata.hover) * data.opacity * mActiveness; QColor textcolor( 255, 255, 255, (int)(255*opacity) ); QColor bgcolor( 0, 0, 0, (int)(255*opacity) ); QFont f;