• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KWinLibraries

KDecorationFactoryUnstable Class Reference
[KWin decorations library]

#include <kdecorationfactory.h>

Inheritance diagram for KDecorationFactoryUnstable:

Inheritance graph
[legend]

List of all members.


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.

QList< QList< QImage > > KDecorationFactoryUnstable::shadowTextures (  )  [virtual]

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:
  • kdecorationfactory.h
  • kdecorationfactory.cpp

KWinLibraries

Skip menu "KWinLibraries"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal