KWinLibraries
KWin::WindowMotionManager Class Reference
[KWin effects library]
Helper class for motion dynamics in KWin effects.
More...
#include <kwineffects.h>
Public Member Functions | |
void | apply (EffectWindow *w, WindowPaintData &data) |
bool | areWindowsMoving () |
void | calculate (int time) |
bool | isManaging (EffectWindow *w) |
void | manage (EffectWindowList list) |
void | manage (EffectWindow *w) |
EffectWindowList | managedWindows () const |
bool | managingWindows () |
void | moveWindow (EffectWindow *w, QRect target) |
void | moveWindow (EffectWindow *w, QPoint target, double scale=1.0, double yScale=0.0) |
void | reset (EffectWindow *w) |
void | reset () |
QRectF | transformedGeometry (EffectWindow *w) const |
void | unmanage (EffectWindow *w) |
void | unmanageAll () |
EffectWindow * | windowAtPoint (QPoint point, bool useStackingOrder=true) const |
WindowMotionManager (bool useGlobalAnimationModifier=true) | |
~WindowMotionManager () |
Detailed Description
Helper class for motion dynamics in KWin effects.This motion manager class is intended to help KWin effect authors move windows across the screen smoothly and naturally. Once windows are registered by the manager the effect can issue move commands with the moveWindow() methods. The position of any managed window can be determined in realtime by the transformedGeometry() method. As the manager knows if any windows are moving at any given time it can also be used as a notifier as to see whether the effect is active or not.
Definition at line 1339 of file kwineffects.h.
Constructor & Destructor Documentation
KWin::WindowMotionManager::WindowMotionManager | ( | bool | useGlobalAnimationModifier = true |
) | [explicit] |
The documentation for this class was generated from the following files: