e6c23e4cd3
translation are welcome to implement it themselves. I'm no graphics guy after all and this seems to be far beyond me. svn path=/branches/work/kwin_composite/; revision=559182
40 lines
1 KiB
C++
40 lines
1 KiB
C++
/*****************************************************************
|
|
KWin - the KDE window manager
|
|
This file is part of the KDE project.
|
|
|
|
Copyright (C) 2006 Lubos Lunak <l.lunak@kde.org>
|
|
|
|
You can Freely distribute this program under the GNU General Public
|
|
License. See the file "COPYING" for the exact licensing terms.
|
|
******************************************************************/
|
|
|
|
#ifndef KWIN_SCENE_H
|
|
#define KWIN_SCENE_H
|
|
|
|
#include "utils.h"
|
|
|
|
namespace KWinInternal
|
|
{
|
|
|
|
class Workspace;
|
|
|
|
class Scene
|
|
{
|
|
public:
|
|
Scene( Workspace* ws );
|
|
virtual ~Scene();
|
|
virtual void paint( XserverRegion damage, ToplevelList windows ) = 0;
|
|
virtual void windowGeometryShapeChanged( Toplevel* );
|
|
virtual void windowOpacityChanged( Toplevel* );
|
|
virtual void windowDeleted( Toplevel* );
|
|
virtual void transformWindowDamage( Toplevel*, XserverRegion ) const;
|
|
virtual void updateTransformation( Toplevel* );
|
|
protected:
|
|
Workspace* wspace;
|
|
};
|
|
|
|
extern Scene* scene;
|
|
|
|
} // namespace
|
|
|
|
#endif
|