add more spacing
[personal-kdebase.git] / workspace / kwin / effects / test / demo_showpicture.h
blobdacd02a7dadb7936ba27abe04878b5d183985f67
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_DEMO_SHOWPICTURE_H
12 #define KWIN_DEMO_SHOWPICTURE_H
14 #include <kwineffects.h>
15 #include <kwinglutils.h>
17 namespace KWin
20 class ShowPictureEffect
21 : public Effect
23 public:
24 ShowPictureEffect();
25 virtual ~ShowPictureEffect();
26 virtual void paintScreen( int mask, QRegion region, ScreenPaintData& data );
27 private:
28 void loadPicture();
29 bool init;
30 GLTexture* picture;
31 QRect pictureRect;
34 } // namespace
36 #endif