Revision 8d6f6b3...
Go back to digest for 15th July 2012Features in KDE Base
Martin Gräßlin committed changes in [kde-workspace] /:
Getter/setters for opacity, saturation and brightness in WindowPaintData
The public member variables for opacity, saturation and brightness
are removed in favor for getter and setters. The variables are
moved into a private class. Those are now qreal instead of double.
To make usage inside the effects easier a multiply method is added
which multiplies the current value with passed in factor and returns
the new value in a functional programming style.
This commit is the top-most of a patch series to refactor
ScreenPaintData and WindowPaintData. Other related commits are:
* 0811772
* ebdc7ec
* 2c8dd8d
* 7699726
* 68e0201
* 611cb09
REVIEW: 105141
FIXED-IN: 4.10
File Changes
Modified 30 files
- kwin/lanczosfilter.cpp
- kwin/scene.cpp
- kwin/scene_opengl.cpp
- kwin/scene_xrender.cpp
- kwin/libkwineffects/kwinanimationeffect.cpp
- kwin/libkwineffects/kwineffects.cpp
- kwin/libkwineffects/kwineffects.h
- kwin/tests/test_window_paint_data.cpp
- kwin/effects/blur/blur.cpp
- kwin/effects/boxswitch/boxswitch.cpp
- kwin/effects/coverswitch/coverswitch.cpp
- kwin/effects/cube/cube.cpp
- kwin/effects/cube/cubeslide.cpp
- kwin/effects/dashboard/dashboard.cpp
- kwin/effects/desktopgrid/desktopgrid.cpp
- kwin/effects/dialogparent/dialogparent.cpp
- kwin/effects/diminactive/diminactive.cpp
- kwin/effects/dimscreen/dimscreen.cpp
- kwin/effects/explosion/explosion.cpp
- kwin/effects/flipswitch/flipswitch.cpp
- kwin/effects/glide/glide.cpp
- kwin/effects/highlightwindow/highlightwindow.cpp
- kwin/effects/login/login.cpp
- kwin/effects/logout/logout.cpp
- kwin/effects/minimizeanimation/minimizeanimation.cpp
- kwin/effects/presentwindows/presentwindows.cpp
- kwin/effects/scalein/scalein.cpp
- kwin/effects/taskbarthumbnail/taskbarthumbnail.cpp
- kwin/effects/thumbnailaside/thumbnailaside.cpp
- kwin/effects/translucency/translucency.cpp
30 files changed in total