Add docs on some of the paint attributes.
svn path=/branches/work/kwin_composite/; revision=603720
This commit is contained in:
parent
bcfc36c695
commit
3e282558e2
1 changed files with 14 additions and 0 deletions
14
effects.h
14
effects.h
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue