1/*
2 SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef KWINDOWEFFECTS_X11_H
8#define KWINDOWEFFECTS_X11_H
9#include "kwindoweffects_p.h"
10
11class KWindowEffectsPrivateX11 : public KWindowEffectsPrivate
12{
13public:
14 KWindowEffectsPrivateX11();
15 ~KWindowEffectsPrivateX11() override;
16 bool isEffectAvailable(KWindowEffects::Effect effect) override;
17 void slideWindow(QWindow *window, KWindowEffects::SlideFromLocation location, int offset) override;
18 void enableBlurBehind(QWindow *window, bool enable = true, const QRegion &region = QRegion()) override;
19 void enableBackgroundContrast(QWindow *window,
20 bool enable = true,
21 qreal contrast = 1,
22 qreal intensity = 1,
23 qreal saturation = 1,
24 const QRegion &region = QRegion()) override;
25};
26
27#endif
28

source code of kwindowsystem/src/platforms/xcb/kwindoweffects_x11.h