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_DUMMY_P_H |
8 | #define KWINDOWEFFECTS_DUMMY_P_H |
9 | #include "kwindoweffects_p.h" |
10 | |
11 | class KWindowEffectsPrivateDummy : public KWindowEffectsPrivate |
12 | { |
13 | public: |
14 | KWindowEffectsPrivateDummy(); |
15 | ~KWindowEffectsPrivateDummy() 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 ®ion = 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 ®ion = QRegion()) override; |
25 | }; |
26 | |
27 | #endif |
28 | |