2006-07-05 12:30:03 +00:00
|
|
|
/*****************************************************************
|
|
|
|
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();
|
2006-07-06 18:22:01 +00:00
|
|
|
virtual void paint( XserverRegion damage, ToplevelList windows ) = 0;
|
2006-07-05 20:52:57 +00:00
|
|
|
virtual void windowGeometryShapeChanged( Toplevel* );
|
|
|
|
virtual void windowOpacityChanged( Toplevel* );
|
2006-09-29 19:05:36 +00:00
|
|
|
virtual void windowAdded( Toplevel* );
|
2006-07-05 20:52:57 +00:00
|
|
|
virtual void windowDeleted( Toplevel* );
|
2006-07-06 13:17:44 +00:00
|
|
|
virtual void transformWindowDamage( Toplevel*, XserverRegion ) const;
|
|
|
|
virtual void updateTransformation( Toplevel* );
|
2006-07-05 12:30:03 +00:00
|
|
|
protected:
|
|
|
|
Workspace* wspace;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern Scene* scene;
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|