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

KWinLibraries

KDecorationUnstable Class Reference
[KWin decorations library]

#include <kdecoration.h>

Inheritance diagram for KDecorationUnstable:

Inheritance graph
[legend]

List of all members.


Public Member Functions

bool compositingActive () const
 KDecorationUnstable (KDecorationBridge *bridge, KDecorationFactory *factory)
double opacity () const
void repaintShadow ()
virtual double shadowBrightness (ShadowType type) const
virtual double shadowOpacity (ShadowType type) const
virtual QList< QRect > shadowQuads (ShadowType type) const
bool shadowsActive () const
virtual double shadowSaturation (ShadowType type) const
virtual ~KDecorationUnstable ()

Detailed Description

Warning:
THIS CLASS IS UNSTABLE AND WILL ONLY BE SUPPORTED IN KDE 4.2!

Definition at line 870 of file kdecoration.h.


Constructor & Destructor Documentation

KDecorationUnstable::KDecorationUnstable ( KDecorationBridge *  bridge,
KDecorationFactory *  factory 
)

Definition at line 386 of file kdecoration.cpp.

KDecorationUnstable::~KDecorationUnstable (  )  [virtual]

Definition at line 392 of file kdecoration.cpp.


Member Function Documentation

bool KDecorationUnstable::compositingActive (  )  const

Returns true if compositing is enabled (Currently useless to decorations, use shadowsActive() instead).

Definition at line 428 of file kdecoration.cpp.

double KDecorationUnstable::opacity (  )  const

Returns the opacity that the decoration will be rendered at.

Definition at line 438 of file kdecoration.cpp.

void KDecorationUnstable::repaintShadow (  ) 

Force a repaint of the shadow.

Automatically called when the window changes states.

Definition at line 423 of file kdecoration.cpp.

double KDecorationUnstable::shadowBrightness ( ShadowType  type  )  const [virtual]

This function should return the desired brightness of the shadow.

Definition at line 411 of file kdecoration.cpp.

double KDecorationUnstable::shadowOpacity ( ShadowType  type  )  const [virtual]

This function should return the desired opacity of the shadow.

Definition at line 402 of file kdecoration.cpp.

QList< QRect > KDecorationUnstable::shadowQuads ( ShadowType  type  )  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 "bordered" windows will call this method.

Definition at line 396 of file kdecoration.cpp.

bool KDecorationUnstable::shadowsActive (  )  const

Returns true if compositing is enabled and the shadow effect is activated by the current user.

Definition at line 433 of file kdecoration.cpp.

double KDecorationUnstable::shadowSaturation ( ShadowType  type  )  const [virtual]

This function should return the desired saturation of the shadow.

Definition at line 417 of file kdecoration.cpp.


The documentation for this class was generated from the following files:
  • kdecoration.h
  • kdecoration.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