Add blur strength for wayland.
This commit is contained in:
parent
3d1b58de11
commit
2d7f043933
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2015 Martin Gräßlin <mgraesslin@kde.org>
|
||||
SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org>
|
||||
SPDX-FileCopyrightText: 2022 KylinSoft Co., Ltd.
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
||||
*/
|
||||
|
@ -146,6 +147,11 @@ void Blur::setRegion(Region *region)
|
|||
org_kde_kwin_blur_set_region(d->blur, *region);
|
||||
}
|
||||
|
||||
void Blur::setStrength(uint32_t strength)
|
||||
{
|
||||
org_kde_kwin_blur_set_strength(d->blur, strength);
|
||||
}
|
||||
|
||||
Blur::operator org_kde_kwin_blur *()
|
||||
{
|
||||
return d->blur;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2015 Martin Gräßlin <mgraesslin@kde.org>
|
||||
SPDX-FileCopyrightText: 2015 Marco Martin <mart@kde.org>
|
||||
SPDX-FileCopyrightText: 2022 KylinSoft Co., Ltd.
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
||||
*/
|
||||
|
@ -177,6 +178,8 @@ public:
|
|||
*/
|
||||
void setRegion(Region *region);
|
||||
|
||||
void setStrength(uint32_t strength);
|
||||
|
||||
operator org_kde_kwin_blur *();
|
||||
operator org_kde_kwin_blur *() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue