1 /*****************************************************************
2 KWin - the KDE window manager
3 This file is part of the KDE project.
5 Copyright (C) 2006 Lubos Lunak <l.lunak@kde.org>
7 You can Freely distribute this program under the GNU General Public
8 License. See the file "COPYING" for the exact licensing terms.
9 ******************************************************************/
11 #ifndef DEMO_SHAKYMOVE_H
12 #define DEMO_SHAKYMOVE_H
16 #include <kwineffects.h>
22 : public QObject
, public Effect
27 virtual void prePaintScreen( ScreenPrePaintData
& data
, int time
);
28 virtual void prePaintWindow( EffectWindow
* w
, WindowPrePaintData
& data
, int time
);
29 virtual void paintWindow( EffectWindow
* w
, int mask
, QRegion region
, WindowPaintData
& data
);
30 virtual void windowUserMovedResized( EffectWindow
* c
, bool first
, bool last
);
31 virtual void windowClosed( EffectWindow
* c
);
35 QHash
< const EffectWindow
*, int > windows
;
41 #endif // DEMO_SHAKYMOVE_H