Blend the window labels in/out with the effect
svn path=/trunk/KDE/kdebase/workspace/; revision=709129
This commit is contained in:
parent
ab2a72fdcb
commit
84c15214c5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue