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

Detailed Description
Definition at line 38 of file 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 () |
bool | borderActivated (ElectricBorder border) |
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) |
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 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 () |
virtual void | refTabBox () |
virtual void | registerPropertyType (long atom, bool reg) |
void | reloadEffect (const QString &name) |
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 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 |
QHash< long, int > | registered_atoms |
QStack< GLRenderTarget * > | render_targets |
Constructor & Destructor Documentation
KWin::EffectsHandlerImpl::EffectsHandlerImpl | ( | CompositingType | type | ) |
Definition at line 50 of file effects.cpp.
KWin::EffectsHandlerImpl::~EffectsHandlerImpl | ( | ) | [virtual] |
Definition at line 58 of file effects.cpp.
Member Function Documentation
void KWin::EffectsHandlerImpl::activateWindow | ( | EffectWindow * | c | ) | [virtual] |
Definition at line 347 of file effects.cpp.
Effect * KWin::EffectsHandlerImpl::activeFullScreenEffect | ( | ) | const [virtual] |
Definition at line 277 of file effects.cpp.
int KWin::EffectsHandlerImpl::activeScreen | ( | ) | const [virtual] |
Definition at line 550 of file effects.cpp.
EffectWindow * KWin::EffectsHandlerImpl::activeWindow | ( | ) | const [virtual] |
Definition at line 353 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaint | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) | [virtual] |
Definition at line 545 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaint | ( | const QRegion & | r | ) | [virtual] |
Definition at line 540 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaint | ( | const QRect & | r | ) | [virtual] |
Definition at line 535 of file effects.cpp.
void KWin::EffectsHandlerImpl::addRepaintFull | ( | ) | [virtual] |
Definition at line 530 of file effects.cpp.
bool KWin::EffectsHandlerImpl::borderActivated | ( | ElectricBorder | border | ) |
Definition at line 282 of file effects.cpp.
void KWin::EffectsHandlerImpl::calcDesktopLayout | ( | int * | x, | |
int * | y, | |||
Qt::Orientation * | orientation | |||
) | const [virtual] |
Definition at line 392 of file effects.cpp.
void KWin::EffectsHandlerImpl::checkElectricBorder | ( | const QPoint & | pos, | |
Time | time | |||
) | [virtual] |
Definition at line 678 of file effects.cpp.
bool KWin::EffectsHandlerImpl::checkInputWindowEvent | ( | XEvent * | e | ) | [virtual] |
Definition at line 613 of file effects.cpp.
void KWin::EffectsHandlerImpl::checkInputWindowStacking | ( | ) | [virtual] |
Definition at line 660 of file effects.cpp.
QRect KWin::EffectsHandlerImpl::clientArea | ( | clientAreaOption | opt, | |
const QPoint & | p, | |||
int | desktop | |||
) | const [virtual] |
Definition at line 579 of file effects.cpp.
QRect KWin::EffectsHandlerImpl::clientArea | ( | clientAreaOption | opt, | |
const EffectWindow * | c | |||
) | const [virtual] |
Definition at line 570 of file effects.cpp.
QRect KWin::EffectsHandlerImpl::clientArea | ( | clientAreaOption | opt, | |
int | screen, | |||
int | desktop | |||
) | const [virtual] |
Definition at line 565 of file effects.cpp.
void KWin::EffectsHandlerImpl::closeTabBox | ( | ) | [virtual] |
Definition at line 487 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 584 of file effects.cpp.
int KWin::EffectsHandlerImpl::currentDesktop | ( | ) | const [virtual] |
Definition at line 372 of file effects.cpp.
int KWin::EffectsHandlerImpl::currentTabBoxDesktop | ( | ) | const [virtual] |
Definition at line 497 of file effects.cpp.
QList< int > KWin::EffectsHandlerImpl::currentTabBoxDesktopList | ( | ) | const [virtual] |
Definition at line 492 of file effects.cpp.
EffectWindow * KWin::EffectsHandlerImpl::currentTabBoxWindow | ( | ) | const [virtual] |
Definition at line 502 of file effects.cpp.
EffectWindowList KWin::EffectsHandlerImpl::currentTabBoxWindowList | ( | ) | const [virtual] |
Definition at line 468 of file effects.cpp.
QPoint KWin::EffectsHandlerImpl::cursorPos | ( | ) | const [virtual] |
Definition at line 673 of file effects.cpp.
void KWin::EffectsHandlerImpl::desktopChanged | ( | int | old | ) |
Definition at line 232 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopDown | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 417 of file effects.cpp.
QString KWin::EffectsHandlerImpl::desktopName | ( | int | desktop | ) | const [virtual] |
Definition at line 387 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopToLeft | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 402 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopToRight | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 407 of file effects.cpp.
int KWin::EffectsHandlerImpl::desktopUp | ( | int | desktop, | |
bool | wrap | |||
) | const [virtual] |
Definition at line 412 of file effects.cpp.
void KWin::EffectsHandlerImpl::destroyInputWindow | ( | Window | w | ) | [virtual] |
Definition at line 599 of file effects.cpp.
int KWin::EffectsHandlerImpl::displayHeight | ( | ) | const [virtual] |
Definition at line 427 of file effects.cpp.
int KWin::EffectsHandlerImpl::displayWidth | ( | ) | const [virtual] |
Definition at line 422 of file effects.cpp.
void KWin::EffectsHandlerImpl::drawWindow | ( | EffectWindow * | w, | |
int | mask, | |||
QRegion | region, | |||
WindowPaintData & | data | |||
) | [virtual] |
Definition at line 161 of file effects.cpp.
void KWin::EffectsHandlerImpl::effectsChanged | ( | ) | [protected] |
Definition at line 903 of file effects.cpp.
QList< EffectWindow * > KWin::EffectsHandlerImpl::elevatedWindows | ( | ) | const [inline] |
KLibrary * KWin::EffectsHandlerImpl::findEffectLibrary | ( | KService * | service | ) | [protected] |
Definition at line 707 of file effects.cpp.
EffectWindow * KWin::EffectsHandlerImpl::findWindow | ( | WId | id | ) | const [virtual] |
Definition at line 432 of file effects.cpp.
void KWin::EffectsHandlerImpl::grabbedKeyboardEvent | ( | QKeyEvent * | e | ) |
Definition at line 317 of file effects.cpp.
bool KWin::EffectsHandlerImpl::grabKeyboard | ( | Effect * | effect | ) | [virtual] |
Definition at line 299 of file effects.cpp.
bool KWin::EffectsHandlerImpl::hasKeyboardGrab | ( | ) | const |
Definition at line 323 of file effects.cpp.
bool KWin::EffectsHandlerImpl::isEffectLoaded | ( | const QString & | name | ) |
Definition at line 894 of file effects.cpp.
QStringList KWin::EffectsHandlerImpl::listOfEffects | ( | ) | const |
Definition at line 739 of file effects.cpp.
QStringList KWin::EffectsHandlerImpl::loadedEffects | ( | ) | const |
Definition at line 729 of file effects.cpp.
bool KWin::EffectsHandlerImpl::loadEffect | ( | const QString & | name | ) |
Definition at line 752 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 291 of file effects.cpp.
void KWin::EffectsHandlerImpl::moveWindow | ( | EffectWindow * | w, | |
const QPoint & | pos | |||
) | [virtual] |
Definition at line 358 of file effects.cpp.
int KWin::EffectsHandlerImpl::numberOfDesktops | ( | ) | const [virtual] |
Definition at line 377 of file effects.cpp.
int KWin::EffectsHandlerImpl::numScreens | ( | ) | const [virtual] |
Definition at line 555 of file effects.cpp.
bool KWin::EffectsHandlerImpl::optionRollOverDesktops | ( | ) | const [virtual] |
Definition at line 397 of file effects.cpp.
void KWin::EffectsHandlerImpl::paintScreen | ( | int | mask, | |
QRegion | region, | |||
ScreenPaintData & | data | |||
) | [virtual] |
Definition at line 109 of file effects.cpp.
void KWin::EffectsHandlerImpl::paintWindow | ( | EffectWindow * | w, | |
int | mask, | |||
QRegion | region, | |||
WindowPaintData & | data | |||
) | [virtual] |
Definition at line 140 of file effects.cpp.
GLRenderTarget * KWin::EffectsHandlerImpl::popRenderTarget | ( | ) | [virtual] |
Definition at line 517 of file effects.cpp.
void KWin::EffectsHandlerImpl::postPaintScreen | ( | ) | [virtual] |
Definition at line 120 of file effects.cpp.
void KWin::EffectsHandlerImpl::postPaintWindow | ( | EffectWindow * | w | ) | [virtual] |
Definition at line 151 of file effects.cpp.
void KWin::EffectsHandlerImpl::prePaintScreen | ( | ScreenPrePaintData & | data, | |
int | time | |||
) | [virtual] |
Definition at line 99 of file effects.cpp.
void KWin::EffectsHandlerImpl::prePaintWindow | ( | EffectWindow * | w, | |
WindowPrePaintData & | data, | |||
int | time | |||
) | [virtual] |
Definition at line 130 of file effects.cpp.
void KWin::EffectsHandlerImpl::propertyNotify | ( | EffectWindow * | c, | |
long | atom | |||
) |
Definition at line 328 of file effects.cpp.
void KWin::EffectsHandlerImpl::pushRenderTarget | ( | GLRenderTarget * | target | ) | [virtual] |
Definition at line 509 of file effects.cpp.
void KWin::EffectsHandlerImpl::reconfigure | ( | ) | [virtual] |
Definition at line 68 of file effects.cpp.
void KWin::EffectsHandlerImpl::refTabBox | ( | ) | [virtual] |
Definition at line 477 of file effects.cpp.
void KWin::EffectsHandlerImpl::registerPropertyType | ( | long | atom, | |
bool | reg | |||
) | [virtual] |
Definition at line 336 of file effects.cpp.
void KWin::EffectsHandlerImpl::reloadEffect | ( | const QString & | name | ) |
Definition at line 885 of file effects.cpp.
void KWin::EffectsHandlerImpl::reserveElectricBorder | ( | ElectricBorder | border | ) | [virtual] |
Definition at line 683 of file effects.cpp.
void KWin::EffectsHandlerImpl::reserveElectricBorderSwitching | ( | bool | reserve | ) | [virtual] |
Definition at line 693 of file effects.cpp.
int KWin::EffectsHandlerImpl::screenNumber | ( | const QPoint & | pos | ) | const [virtual] |
Definition at line 560 of file effects.cpp.
void KWin::EffectsHandlerImpl::setActiveFullScreenEffect | ( | Effect * | e | ) | [virtual] |
Definition at line 272 of file effects.cpp.
void KWin::EffectsHandlerImpl::setCurrentDesktop | ( | int | desktop | ) | [virtual] |
Definition at line 382 of file effects.cpp.
void KWin::EffectsHandlerImpl::setElevatedWindow | ( | EffectWindow * | w, | |
bool | set | |||
) | [virtual] |
Definition at line 450 of file effects.cpp.
void KWin::EffectsHandlerImpl::setTabBoxDesktop | ( | int | desktop | ) | [virtual] |
Definition at line 463 of file effects.cpp.
void KWin::EffectsHandlerImpl::setTabBoxWindow | ( | EffectWindow * | w | ) | [virtual] |
Definition at line 457 of file effects.cpp.
EffectWindowList KWin::EffectsHandlerImpl::stackingOrder | ( | ) | const [virtual] |
Definition at line 441 of file effects.cpp.
void KWin::EffectsHandlerImpl::startPaint | ( | ) |
Definition at line 173 of file effects.cpp.
void KWin::EffectsHandlerImpl::tabBoxAdded | ( | int | mode | ) |
Definition at line 254 of file effects.cpp.
void KWin::EffectsHandlerImpl::tabBoxClosed | ( | ) |
Definition at line 260 of file effects.cpp.
void KWin::EffectsHandlerImpl::tabBoxUpdated | ( | ) |
Definition at line 266 of file effects.cpp.
void KWin::EffectsHandlerImpl::toggleEffect | ( | const QString & | name | ) |
Definition at line 721 of file effects.cpp.
void KWin::EffectsHandlerImpl::ungrabKeyboard | ( | ) | [virtual] |
Definition at line 310 of file effects.cpp.
void KWin::EffectsHandlerImpl::unloadEffect | ( | const QString & | name | ) |
Definition at line 857 of file effects.cpp.
void KWin::EffectsHandlerImpl::unrefTabBox | ( | ) | [virtual] |
Definition at line 482 of file effects.cpp.
void KWin::EffectsHandlerImpl::unreserveElectricBorder | ( | ElectricBorder | border | ) | [virtual] |
Definition at line 688 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowActivated | ( | EffectWindow * | c | ) |
Definition at line 214 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowAdded | ( | EffectWindow * | c | ) |
Definition at line 195 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowClosed | ( | EffectWindow * | c | ) |
Definition at line 208 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowDamaged | ( | EffectWindow * | w, | |
const QRect & | r | |||
) |
Definition at line 238 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowDeleted | ( | EffectWindow * | c | ) |
Definition at line 201 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowGeometryShapeChanged | ( | EffectWindow * | w, | |
const QRect & | old | |||
) |
Definition at line 246 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowMinimized | ( | EffectWindow * | c | ) |
Definition at line 220 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowOpacityChanged | ( | EffectWindow * | c, | |
double | old_opacity | |||
) |
Definition at line 187 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowToDesktop | ( | EffectWindow * | w, | |
int | desktop | |||
) | [virtual] |
Definition at line 365 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowUnminimized | ( | EffectWindow * | c | ) |
Definition at line 226 of file effects.cpp.
void KWin::EffectsHandlerImpl::windowUserMovedResized | ( | EffectWindow * | c, | |
bool | first, | |||
bool | last | |||
) |
Definition at line 181 of file effects.cpp.
unsigned long KWin::EffectsHandlerImpl::xrenderBufferPicture | ( | ) | [virtual] |
Definition at line 698 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] |
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: