/* SPDX-FileCopyrightText: 2014 Martin Gräßlin SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef KWINDOWEFFECTS_X11_H #define KWINDOWEFFECTS_X11_H #include "kwindoweffects_p.h" class KWindowEffectsPrivateX11 : public KWindowEffectsPrivate { public: KWindowEffectsPrivateX11(); ~KWindowEffectsPrivateX11() override; bool isEffectAvailable(KWindowEffects::Effect effect) override; void slideWindow(QWindow *window, KWindowEffects::SlideFromLocation location, int offset) override; void enableBlurBehind(QWindow *window, bool enable = true, const QRegion ®ion = QRegion()) override; void enableBackgroundContrast(QWindow *window, bool enable = true, qreal contrast = 1, qreal intensity = 1, qreal saturation = 1, const QRegion ®ion = QRegion()) override; }; #endif