not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kwin / effects / test / flame.h
blobee3ac7da53d3ffc397a598c85086039184248740
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 ******************************************************************/
11 #ifndef KWIN_FLAME_H
12 #define KWIN_FLAME_H
14 #include <kwineffects.h>
16 namespace KWin
19 class FlameEffect
20 : public Effect
22 public:
23 virtual void prePaintScreen( ScreenPrePaintData& data, int time );
24 virtual void prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int time );
25 virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data );
26 virtual void postPaintWindow( EffectWindow* w );
27 virtual void windowClosed( EffectWindow* c );
28 virtual void windowDeleted( EffectWindow* c );
29 private:
30 QHash< const EffectWindow*, double > windows;
33 } // namespace
35 #endif