KWinLibraries
KDecorationFactoryUnstable Class Reference
[KWin decorations library]
#include <kdecorationfactory.h>

Public Member Functions | |
virtual double | shadowBrightness (ShadowType type) const |
virtual double | shadowOpacity (ShadowType type) const |
virtual QList< QRect > | shadowQuads (ShadowType type, QSize size) const |
virtual double | shadowSaturation (ShadowType type) const |
virtual int | shadowTextureList (ShadowType type) const |
virtual QList< QList< QImage > > | shadowTextures () |
Detailed Description
- Warning:
- THIS CLASS IS UNSTABLE AND WILL ONLY BE SUPPORTED IN KDE 4.2!
Definition at line 121 of file kdecorationfactory.h.
Member Function Documentation
double KDecorationFactoryUnstable::shadowBrightness | ( | ShadowType | type | ) | const [virtual] |
This function should return the desired brightness of the shadow.
Definition at line 106 of file kdecorationfactory.cpp.
double KDecorationFactoryUnstable::shadowOpacity | ( | ShadowType | type | ) | const [virtual] |
This function should return the desired opacity of the shadow.
Definition at line 100 of file kdecorationfactory.cpp.
QList< QRect > KDecorationFactoryUnstable::shadowQuads | ( | ShadowType | type, | |
QSize | size | |||
) | const [virtual] |
This function should return the positions of the shadow quads to be rendered.
All positions are relative to the window's top-left corner. Only "borderless" and "other" types will call this method.
- Parameters:
-
size The size of the window.
Definition at line 93 of file kdecorationfactory.cpp.
double KDecorationFactoryUnstable::shadowSaturation | ( | ShadowType | type | ) | const [virtual] |
This function should return the desired saturation of the shadow.
Definition at line 112 of file kdecorationfactory.cpp.
int KDecorationFactoryUnstable::shadowTextureList | ( | ShadowType | type | ) | const [virtual] |
This function should return the texture list offset for the requested type.
Definition at line 87 of file kdecorationfactory.cpp.
This function should return the texture lists that contain the textures of the shadow quads.
Textures are mapped to the quad that has the same list offset. E.g. texture[0][2] is rendered where the third QRect that shadowQuads() returns is if using the first texture list.
Definition at line 82 of file kdecorationfactory.cpp.
The documentation for this class was generated from the following files: