Add docs on some of the paint attributes.

svn path=/branches/work/kwin_composite/; revision=603720
This commit is contained in:
Luboš Luňák 2006-11-09 21:27:27 +00:00
parent bcfc36c695
commit 3e282558e2

View file

@ -25,12 +25,26 @@ class WindowPaintData
{
public:
WindowPaintData();
/**
* Window opacity, in range 0 = transparent to 1 = fully opaque
*/
double opacity;
double xScale;
double yScale;
int xTranslate;
int yTranslate;
/**
* Saturation of the window, in range [0; 1]
* 1 means that the window is unchanged, 0 means that it's completely
* unsaturated (greyscale). 0.5 would make the colors less intense,
* but not completely grey
**/
float saturation;
/**
* Brightness of the window, in range [0; 1]
* 1 means that the window is unchanged, 0 means that it's completely
* black. 0.5 would make it 50% darker than usual
**/
float brightness;
};