KWin
KWin::EffectsHandlerImpl Class Reference
#include <effects.h>

Public Member Functions | |
virtual void | activateWindow (EffectWindow *c) |
virtual Effect * | activeFullScreenEffect () const |
virtual int | activeScreen () const |
virtual EffectWindow * | activeWindow () const |
virtual void | addRepaint (int x, int y, int w, int h) |
virtual void | addRepaint (const QRegion &r) |
virtual void | addRepaint (const QRect &r) |
virtual void | addRepaintFull () |
virtual double | animationTimeFactor () const |
bool | borderActivated (ElectricBorder border) |
virtual void | buildQuads (EffectWindow *w, WindowQuadList &quadList) |
virtual void | calcDesktopLayout (int *x, int *y, Qt::Orientation *orientation) const |
virtual void | checkElectricBorder (const QPoint &pos, Time time) |
virtual bool | checkInputWindowEvent (XEvent *e) |
virtual void | checkInputWindowStacking () |
virtual QRect | clientArea (clientAreaOption, const QPoint &p, int desktop) const |
virtual QRect | clientArea (clientAreaOption, const EffectWindow *c) const |
virtual QRect | clientArea (clientAreaOption, int screen, int desktop) const |
virtual void | closeTabBox () |
virtual Window | createInputWindow (Effect *e, int x, int y, int w, int h, const QCursor &cursor) |
virtual int | currentDesktop () const |
virtual int | currentTabBoxDesktop () const |
virtual QList< int > | currentTabBoxDesktopList () const |
virtual EffectWindow * | currentTabBoxWindow () const |
virtual EffectWindowList | currentTabBoxWindowList () const |
virtual QPoint | cursorPos () const |
void | desktopChanged (int old) |
virtual int | desktopDown (int desktop, bool wrap) const |
virtual QString | desktopName (int desktop) const |
virtual int | desktopToLeft (int desktop, bool wrap) const |
virtual int | desktopToRight (int desktop, bool wrap) const |
virtual int | desktopUp (int desktop, bool wrap) const |
virtual void | destroyInputWindow (Window w) |
virtual int | displayHeight () const |
virtual int | displayWidth () const |
virtual void | drawWindow (EffectWindow *w, int mask, QRegion region, WindowPaintData &data) |
EffectsHandlerImpl (CompositingType type) | |
QList< EffectWindow * > | elevatedWindows () const |
virtual EffectWindow * | findWindow (WId id) const |
void | grabbedKeyboardEvent (QKeyEvent *e) |
virtual bool | grabKeyboard (Effect *effect) |
virtual bool | hasDecorationShadows () const |
bool | hasKeyboardGrab () const |
bool | isEffectLoaded (const QString &name) |
QStringList | listOfEffects () const |
QStringList | loadedEffects () const |
bool | loadEffect (const QString &name) |
void | mouseChanged (const QPoint &pos, const QPoint &oldpos, Qt::MouseButtons buttons, Qt::MouseButtons oldbuttons, Qt::KeyboardModifiers modifiers, Qt::KeyboardModifiers oldmodifiers) |
virtual void | moveWindow (EffectWindow *w, const QPoint &pos) |
virtual WindowQuadType | newWindowQuadType () |
virtual int | numberOfDesktops () const |
virtual int | numScreens () const |
virtual bool | optionRollOverDesktops () const |
virtual void | paintScreen (int mask, QRegion region, ScreenPaintData &data) |
virtual void | paintWindow (EffectWindow *w, int mask, QRegion region, WindowPaintData &data) |
virtual GLRenderTarget * | popRenderTarget () |
virtual void | postPaintScreen () |
virtual void | postPaintWindow (EffectWindow *w) |
virtual void | prePaintScreen (ScreenPrePaintData &data, int time) |
virtual void | prePaintWindow (EffectWindow *w, WindowPrePaintData &data, int time) |
void | propertyNotify (EffectWindow *c, long atom) |
virtual void | pushRenderTarget (GLRenderTarget *target) |
virtual void | reconfigure () |
void | reconfigureEffect (const QString &name) |
virtual void | refTabBox () |
virtual void | registerPropertyType (long atom, bool reg) |
virtual void | reserveElectricBorder (ElectricBorder border) |
virtual void | reserveElectricBorderSwitching (bool reserve) |
virtual int | screenNumber (const QPoint &pos) const |
virtual void | setActiveFullScreenEffect (Effect *e) |
virtual void | setCurrentDesktop (int desktop) |
virtual void | setElevatedWindow (EffectWindow *w, bool set) |
virtual void | setTabBoxDesktop (int) |
virtual void | setTabBoxWindow (EffectWindow *) |
virtual int | shadowTextureList (ShadowType type) const |
virtual QList< QList< QImage > > | shadowTextures () |
virtual EffectWindowList | stackingOrder () const |
void | startPaint () |
void | tabBoxAdded (int mode) |
void | tabBoxClosed () |
void | tabBoxUpdated () |
void | toggleEffect (const QString &name) |
virtual void | ungrabKeyboard () |
void | unloadEffect (const QString &name) |
virtual void | unrefTabBox () |
virtual void | unreserveElectricBorder (ElectricBorder border) |
void | windowActivated (EffectWindow *c) |
void | windowAdded (EffectWindow *c) |
void | windowClosed (EffectWindow *c) |
void | windowDamaged (EffectWindow *w, const QRect &r) |
void | windowDeleted (EffectWindow *c) |
void | windowGeometryShapeChanged (EffectWindow *w, const QRect &old) |
void | windowMinimized (EffectWindow *c) |
void | windowOpacityChanged (EffectWindow *c, double old_opacity) |
virtual void | windowToDesktop (EffectWindow *w, int desktop) |
void | windowUnminimized (EffectWindow *c) |
void | windowUserMovedResized (EffectWindow *c, bool first, bool last) |
virtual unsigned long | xrenderBufferPicture () |
virtual | ~EffectsHandlerImpl () |
Protected Member Functions | |
void | effectsChanged () |
KLibrary * | findEffectLibrary (KService *service) |
Protected Attributes | |
QMultiMap< int, EffectPair > | effect_order |
QList< EffectWindow * > | elevated_windows |
Effect * | fullscreen_effect |
Effect * | keyboard_grab_effect |
int | next_window_quad_type |
QHash< long, int > | registered_atoms |
QStack< GLRenderTarget * > | render_targets |
Detailed Description
Definition at line 38 of file effects.h.
Constructor & Destructor Documentation
KWin::EffectsHandlerImpl::EffectsHandlerImpl | ( | CompositingType | type | ) |
Definition at line 50 of file effects.cpp.
KWin::EffectsHandlerImpl::~EffectsHandlerImpl | ( | ) | [virtual] |
Definition at line 59 of file effects.cpp.
Member Function Documentation
void KWin::EffectsHandlerImpl::activateWindow | ( | EffectWindow * | c | ) | [virtual] |
Definition at line 381 of file effects.cpp.
Effect * KWin::EffectsHandlerImpl::activeFullScreenEffect | ( | ) | const [virtual] |
Definition at line 311 of file effects.cpp.
int KWin::EffectsHandlerImpl::activeScreen | ( | ) | const [virtual] |
Definition at line 594 of file effects.cpp.
EffectWindow * KWin::EffectsHandlerImpl::activeWindow | ( | ) | const [virtual] |
Definition at line 387 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaint | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) | [virtual] |
Definition at line 589 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaint | ( | const QRegion & | r | ) | [virtual] |
Definition at line 584 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaint | ( | const QRect & | r | ) | [virtual] |
Definition at line 579 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaintFull | ( | ) | [virtual] |
Definition at line 574 of file effects.cpp.
double KWin::EffectsHandlerImpl::animationTimeFactor | ( | ) | const [virtual] |
Definition at line 456 of file effects.cpp.
bool KWin::EffectsHandlerImpl::borderActivated | ( | ElectricBorder | border | ) |
Definition at line 316 of file effects.cpp.
void KWin::EffectsHandlerImpl::buildQuads | ( | EffectWindow * | w, | |
WindowQuadList & | quadList | |||
) | [virtual] |
Definition at line 180 of file effects.cpp.
void KWin::EffectsHandlerImpl::calcDesktopLayout | ( | int * | x, | |
int * | y, | |||
Qt::Orientation * | orientation | |||
) | const [virtual] |
Definition at line 426 of file effects.cpp.
void KWin::EffectsHandlerImpl::checkElectricBorder | ( | const QPoint & | pos, | |
Time | time | |||
) | [virtual] |
Definition at line 722 of file effects.cpp.
bool KWin::EffectsHandlerImpl::checkInputWindowEvent | ( | XEvent * | e | ) | [virtual] |
Definition at line 657 of file effects.cpp.
void KWin::EffectsHandlerImpl::checkInputWindowStacking | ( | ) | [virtual] |
Definition at line 704 of file effects.cpp.
QRect KWin::EffectsHandlerImpl::clientArea | ( | clientAreaOption | opt, | |
const QPoint & | p, | |||
int | desktop | |||
) | const [virtual] |
Definition at line 623 of file effects.cpp.
QRect KWin::EffectsHandlerImpl::clientArea | ( | clientAreaOption | opt, | |
const EffectWindow * | c | |||
) | const [virtual] |
Definition at line 614 of file effects.cpp.
QRect KWin::EffectsHandlerImpl::clientArea | ( | clientAreaOption | opt, | |
int | screen, | |||
int | desktop | |||
) | const [virtual] |
Definition at line 609 of file effects.cpp.
void KWin::EffectsHandlerImpl::closeTabBox | ( | ) | [virtual] |
Definition at line 531 of file effects.cpp.
Window KWin::EffectsHandlerImpl::createInputWindow | ( | Effect * | e, | |
int | x, | |||
int | y, | |||
int | w, | |||
int | h, | |||
const QCursor & | cursor | |||
) | [virtual] |
Definition at line 628 of file effects.cpp.
int KWin::EffectsHandlerImpl::currentDesktop | ( | ) | const [virtual] |
Definition at line 406 of file effects.cpp.
int KWin::EffectsHandlerImpl::currentTabBoxDesktop | ( | ) | const [virtual] |
Definition at line 541 of file effects.cpp.
QList< int > KWin::EffectsHandlerImpl::currentTabBoxDesktopList | ( | ) | const [virtual] |
Definition at line 536 of file effects.cpp.
EffectWindow * KWin::EffectsHandlerImpl::currentTabBoxWindow | ( | ) | const [virtual] |
Definition at line 546 of file effects.cpp.
EffectWindowList KWin::EffectsHandlerImpl::currentTabBoxWindowList | ( | ) | const [virtual] |
Definition at line 512 of file effects.cpp.
QPoint KWin::EffectsHandlerImpl::cursorPos | ( | ) | const [virtual] |
Definition at line 717 of file effects.cpp.
void KWin::EffectsHandlerImpl::desktopChanged | ( | int | old | ) |
Definition at line 265 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopDown | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 451 of file effects.cpp.
QString KWin::EffectsHandlerImpl::desktopName | ( | int | desktop | ) | const [virtual] |
Definition at line 421 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopToLeft | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 436 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopToRight | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 441 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopUp | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 446 of file effects.cpp.
void KWin::EffectsHandlerImpl::destroyInputWindow | ( | Window | w | ) | [virtual] |
Definition at line 643 of file effects.cpp.
int KWin::EffectsHandlerImpl::displayHeight | ( | ) | const [virtual] |
Definition at line 471 of file effects.cpp.
int KWin::EffectsHandlerImpl::displayWidth | ( | ) | const [virtual] |
Definition at line 466 of file effects.cpp.
void KWin::EffectsHandlerImpl::drawWindow | ( | EffectWindow * | w, | |
int | mask, | |||
QRegion | region, | |||
WindowPaintData & | data | |||
) | [virtual] |
Definition at line 169 of file effects.cpp.
void KWin::EffectsHandlerImpl::effectsChanged | ( | ) | [protected] |
Definition at line 950 of file effects.cpp.
QList< EffectWindow * > KWin::EffectsHandlerImpl::elevatedWindows | ( | ) | const [inline] |
KLibrary * KWin::EffectsHandlerImpl::findEffectLibrary | ( | KService * | service | ) | [protected] |
Definition at line 751 of file effects.cpp.
EffectWindow * KWin::EffectsHandlerImpl::findWindow | ( | WId | id | ) | const [virtual] |
Definition at line 476 of file effects.cpp.
void KWin::EffectsHandlerImpl::grabbedKeyboardEvent | ( | QKeyEvent * | e | ) |
Definition at line 351 of file effects.cpp.
bool KWin::EffectsHandlerImpl::grabKeyboard | ( | Effect * | effect | ) | [virtual] |
Definition at line 333 of file effects.cpp.
bool KWin::EffectsHandlerImpl::hasDecorationShadows | ( | ) | const [virtual] |
Definition at line 189 of file effects.cpp.
bool KWin::EffectsHandlerImpl::hasKeyboardGrab | ( | ) | const |
Definition at line 357 of file effects.cpp.
bool KWin::EffectsHandlerImpl::isEffectLoaded | ( | const QString & | name | ) |
Definition at line 941 of file effects.cpp.
QStringList KWin::EffectsHandlerImpl::listOfEffects | ( | ) | const |
Definition at line 783 of file effects.cpp.
QStringList KWin::EffectsHandlerImpl::loadedEffects | ( | ) | const |
Definition at line 773 of file effects.cpp.
bool KWin::EffectsHandlerImpl::loadEffect | ( | const QString & | name | ) |
Definition at line 796 of file effects.cpp.
void KWin::EffectsHandlerImpl::mouseChanged | ( | const QPoint & | pos, | |
const QPoint & | oldpos, | |||
Qt::MouseButtons | buttons, | |||
Qt::MouseButtons | oldbuttons, | |||
Qt::KeyboardModifiers | modifiers, | |||
Qt::KeyboardModifiers | oldmodifiers | |||
) |
Definition at line 325 of file effects.cpp.
void KWin::EffectsHandlerImpl::moveWindow | ( | EffectWindow * | w, | |
const QPoint & | pos | |||
) | [virtual] |
Definition at line 392 of file effects.cpp.
WindowQuadType KWin::EffectsHandlerImpl::newWindowQuadType | ( | ) | [virtual] |
Definition at line 461 of file effects.cpp.
int KWin::EffectsHandlerImpl::numberOfDesktops | ( | ) | const [virtual] |
Definition at line 411 of file effects.cpp.
int KWin::EffectsHandlerImpl::numScreens | ( | ) | const [virtual] |
Definition at line 599 of file effects.cpp.
bool KWin::EffectsHandlerImpl::optionRollOverDesktops | ( | ) | const [virtual] |
Definition at line 431 of file effects.cpp.
void KWin::EffectsHandlerImpl::paintScreen | ( | int | mask, | |
QRegion | region, | |||
ScreenPaintData & | data | |||
) | [virtual] |
Definition at line 117 of file effects.cpp.
void KWin::EffectsHandlerImpl::paintWindow | ( | EffectWindow * | w, | |
int | mask, | |||
QRegion | region, | |||
WindowPaintData & | data | |||
) | [virtual] |
Definition at line 148 of file effects.cpp.
GLRenderTarget * KWin::EffectsHandlerImpl::popRenderTarget | ( | ) | [virtual] |
Definition at line 561 of file effects.cpp.
void KWin::EffectsHandlerImpl::postPaintScreen | ( | ) | [virtual] |
Definition at line 128 of file effects.cpp.
void KWin::EffectsHandlerImpl::postPaintWindow | ( | EffectWindow * | w | ) | [virtual] |
Definition at line 159 of file effects.cpp.
void KWin::EffectsHandlerImpl::prePaintScreen | ( | ScreenPrePaintData & | data, | |
int | time | |||
) | [virtual] |
Definition at line 107 of file effects.cpp.
void KWin::EffectsHandlerImpl::prePaintWindow | ( | EffectWindow * | w, | |
WindowPrePaintData & | data, | |||
int | time | |||
) | [virtual] |
Definition at line 138 of file effects.cpp.
void KWin::EffectsHandlerImpl::propertyNotify | ( | EffectWindow * | c, | |
long | atom | |||
) |
Definition at line 362 of file effects.cpp.
void KWin::EffectsHandlerImpl::pushRenderTarget | ( | GLRenderTarget * | target | ) | [virtual] |
Definition at line 553 of file effects.cpp.
void KWin::EffectsHandlerImpl::reconfigure | ( | ) | [virtual] |
Definition at line 69 of file effects.cpp.
void KWin::EffectsHandlerImpl::reconfigureEffect | ( | const QString & | name | ) |
Definition at line 931 of file effects.cpp.
void KWin::EffectsHandlerImpl::refTabBox | ( | ) | [virtual] |
Definition at line 521 of file effects.cpp.
void KWin::EffectsHandlerImpl::registerPropertyType | ( | long | atom, | |
bool | reg | |||
) | [virtual] |
Definition at line 370 of file effects.cpp.
void KWin::EffectsHandlerImpl::reserveElectricBorder | ( | ElectricBorder | border | ) | [virtual] |
Definition at line 727 of file effects.cpp.
void KWin::EffectsHandlerImpl::reserveElectricBorderSwitching | ( | bool | reserve | ) | [virtual] |
Definition at line 737 of file effects.cpp.
int KWin::EffectsHandlerImpl::screenNumber | ( | const QPoint & | pos | ) | const [virtual] |
Definition at line 604 of file effects.cpp.
void KWin::EffectsHandlerImpl::setActiveFullScreenEffect | ( | Effect * | e | ) | [virtual] |
Definition at line 305 of file effects.cpp.
void KWin::EffectsHandlerImpl::setCurrentDesktop | ( | int | desktop | ) | [virtual] |
Definition at line 416 of file effects.cpp.
void KWin::EffectsHandlerImpl::setElevatedWindow | ( | EffectWindow * | w, | |
bool | set | |||
) | [virtual] |
Definition at line 494 of file effects.cpp.
void KWin::EffectsHandlerImpl::setTabBoxDesktop | ( | int | desktop | ) | [virtual] |
Definition at line 507 of file effects.cpp.
void KWin::EffectsHandlerImpl::setTabBoxWindow | ( | EffectWindow * | w | ) | [virtual] |
Definition at line 501 of file effects.cpp.
int KWin::EffectsHandlerImpl::shadowTextureList | ( | ShadowType | type | ) | const [virtual] |
Definition at line 199 of file effects.cpp.
Definition at line 194 of file effects.cpp.
EffectWindowList KWin::EffectsHandlerImpl::stackingOrder | ( | ) | const [virtual] |
Definition at line 485 of file effects.cpp.
void KWin::EffectsHandlerImpl::startPaint | ( | ) |
Definition at line 205 of file effects.cpp.
void KWin::EffectsHandlerImpl::tabBoxAdded | ( | int | mode | ) |
Definition at line 287 of file effects.cpp.
void KWin::EffectsHandlerImpl::tabBoxClosed | ( | ) |
Definition at line 293 of file effects.cpp.
void KWin::EffectsHandlerImpl::tabBoxUpdated | ( | ) |
Definition at line 299 of file effects.cpp.
void KWin::EffectsHandlerImpl::toggleEffect | ( | const QString & | name | ) |
Definition at line 765 of file effects.cpp.
void KWin::EffectsHandlerImpl::ungrabKeyboard | ( | ) | [virtual] |
Definition at line 344 of file effects.cpp.
void KWin::EffectsHandlerImpl::unloadEffect | ( | const QString & | name | ) |
Definition at line 902 of file effects.cpp.
void KWin::EffectsHandlerImpl::unrefTabBox | ( | ) | [virtual] |
Definition at line 526 of file effects.cpp.
void KWin::EffectsHandlerImpl::unreserveElectricBorder | ( | ElectricBorder | border | ) | [virtual] |
Definition at line 732 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowActivated | ( | EffectWindow * | c | ) |
Definition at line 247 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowAdded | ( | EffectWindow * | c | ) |
Definition at line 228 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowClosed | ( | EffectWindow * | c | ) |
Definition at line 241 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowDamaged | ( | EffectWindow * | w, | |
const QRect & | r | |||
) |
Definition at line 271 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowDeleted | ( | EffectWindow * | c | ) |
Definition at line 234 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowGeometryShapeChanged | ( | EffectWindow * | w, | |
const QRect & | old | |||
) |
Definition at line 279 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowMinimized | ( | EffectWindow * | c | ) |
Definition at line 253 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowOpacityChanged | ( | EffectWindow * | c, | |
double | old_opacity | |||
) |
Definition at line 220 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowToDesktop | ( | EffectWindow * | w, | |
int | desktop | |||
) | [virtual] |
Definition at line 399 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowUnminimized | ( | EffectWindow * | c | ) |
Definition at line 259 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowUserMovedResized | ( | EffectWindow * | c, | |
bool | first, | |||
bool | last | |||
) |
Definition at line 214 of file effects.cpp.
unsigned long KWin::EffectsHandlerImpl::xrenderBufferPicture | ( | ) | [virtual] |
Definition at line 742 of file effects.cpp.
Member Data Documentation
QMultiMap< int, EffectPair > KWin::EffectsHandlerImpl::effect_order [protected] |
QList<EffectWindow*> KWin::EffectsHandlerImpl::elevated_windows [protected] |
Effect* KWin::EffectsHandlerImpl::fullscreen_effect [protected] |
Effect* KWin::EffectsHandlerImpl::keyboard_grab_effect [protected] |
int KWin::EffectsHandlerImpl::next_window_quad_type [protected] |
QHash< long, int > KWin::EffectsHandlerImpl::registered_atoms [protected] |
QStack<GLRenderTarget*> KWin::EffectsHandlerImpl::render_targets [protected] |
The documentation for this class was generated from the following files: