KWindowSystem

kwindoweffects_x11.h
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.