Add (and install) svg for the new krunner interface.
[kdebase/uwolfer.git] / workspace / kwin / effects / test / test_thumbnail.h
blob0028a6471fb0ee7521d0ec97545b90f97ee4960b
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>
22 namespace KWin
25 class TestThumbnailEffect
26 : public Effect
28 public:
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 );
35 private:
36 QRect thumbnailRect() const;
37 EffectWindow* active_window;
40 } // namespace
42 #endif