1
/*****************************************************************
2
KWin - the KDE window manager
3
This file is part of the KDE project.
5
Copyright (C) 2007 Rivo Laks <rivolaks@hot.ee>
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_WAVYWINDOWS_H
12
#define DEMO_WAVYWINDOWS_H
14
// Include with base class for effects.
15
#include <kwineffects.h>
21
* Demo effect which applies waves to all windows
23
class WavyWindowsEffect
29
virtual void prePaintScreen( ScreenPrePaintData& data, int time );
30
virtual void prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time );
31
virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data );
32
virtual void postPaintScreen();
40
#endif // DEMO_WAVYWINDOWS_H