2009-02-06 10:15:06 +00:00
|
|
|
/********************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
|
|
|
Copyright (C) 2009 Lucas Murray <lmurray@undefinedfire.com>
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*********************************************************************/
|
|
|
|
|
|
|
|
#ifndef KWIN_PRESENTWINDOWS_PROXY_H
|
|
|
|
#define KWIN_PRESENTWINDOWS_PROXY_H
|
2009-11-15 12:38:26 +00:00
|
|
|
#include <kwineffects.h>
|
2009-02-06 10:15:06 +00:00
|
|
|
|
|
|
|
namespace KWin
|
|
|
|
{
|
|
|
|
|
|
|
|
class PresentWindowsEffect;
|
|
|
|
|
|
|
|
class PresentWindowsEffectProxy
|
2011-01-30 14:34:42 +00:00
|
|
|
{
|
|
|
|
public:
|
2012-12-29 06:34:38 +00:00
|
|
|
explicit PresentWindowsEffectProxy(PresentWindowsEffect* effect);
|
2011-01-30 14:34:42 +00:00
|
|
|
~PresentWindowsEffectProxy();
|
2009-02-06 10:15:06 +00:00
|
|
|
|
2011-01-30 14:34:42 +00:00
|
|
|
void calculateWindowTransformations(EffectWindowList windows, int screen, WindowMotionManager& manager);
|
2009-02-06 10:15:06 +00:00
|
|
|
|
2015-08-28 05:50:20 +00:00
|
|
|
void reCreateGrids();
|
|
|
|
|
2011-01-30 14:34:42 +00:00
|
|
|
private:
|
|
|
|
PresentWindowsEffect* m_effect;
|
|
|
|
};
|
2009-02-06 10:15:06 +00:00
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|