KWin
scene_basic.h
Go to the documentation of this file.00001 /******************************************************************** 00002 KWin - the KDE window manager 00003 This file is part of the KDE project. 00004 00005 Copyright (C) 2006 Lubos Lunak <l.lunak@kde.org> 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 *********************************************************************/ 00020 00021 #ifndef KWIN_SCENE_BASIC_H 00022 #define KWIN_SCENE_BASIC_H 00023 00024 #include "scene.h" 00025 00026 namespace KWin 00027 { 00028 00029 class SceneBasic 00030 : public Scene 00031 { 00032 public: 00033 SceneBasic( Workspace* ws ); 00034 virtual ~SceneBasic(); 00035 virtual bool initFailed() const; 00036 virtual CompositingType compositingType() const { return NoCompositing; } 00037 virtual void paint( QRegion damage, ToplevelList windows ); 00038 protected: 00039 virtual void paintBackground( QRegion region ); 00040 virtual void windowGeometryShapeChanged( Toplevel* ); 00041 virtual void windowOpacityChanged( Toplevel* ); 00042 virtual void windowAdded( Toplevel* ); 00043 virtual void windowClosed( Toplevel*, Deleted* ); 00044 virtual void windowDeleted( Deleted* ); 00045 }; 00046 00047 } // namespace 00048 00049 #endif