1 /*****************************************************************
2 KWin - the KDE window manager
3 This file is part of the KDE project.
5 Copyright (C) 2007 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 ******************************************************************/
13 Testing of painting a window more than once.
17 #ifndef KWIN_TEST_THUMBNAIL_H
18 #define KWIN_TEST_THUMBNAIL_H
20 #include <kwineffects.h>
25 class TestThumbnailEffect
29 TestThumbnailEffect();
30 virtual void paintScreen( int mask
, QRegion region
, ScreenPaintData
& data
);
31 virtual void windowActivated( EffectWindow
* w
);
32 virtual void windowDamaged( EffectWindow
* w
, const QRect
& damage
);
33 virtual void windowGeometryShapeChanged( EffectWindow
* w
, const QRect
& old
);
34 virtual void windowClosed( EffectWindow
* w
);
36 QRect
thumbnailRect() const;
37 EffectWindow
* active_window
;