Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
||||
*/
|
||||
|
||||
#include "kwindoweffects_p.h"
|
||||
#include "pluginwrapper_p.h"
|
||||
#include <QWindow>
|
||||
|
||||
KWindowEffectsPrivate::KWindowEffectsPrivate()
|
||||
{
|
||||
}
|
||||
|
||||
KWindowEffectsPrivate::~KWindowEffectsPrivate()
|
||||
{
|
||||
}
|
||||
|
||||
namespace KWindowEffects
|
||||
{
|
||||
bool isEffectAvailable(Effect effect)
|
||||
{
|
||||
return KWindowSystemPluginWrapper::self().effects()->isEffectAvailable(effect);
|
||||
}
|
||||
|
||||
void enableBlurBehind(QWindow *window, bool enable, const QRegion ®ion)
|
||||
{
|
||||
KWindowSystemPluginWrapper::self().effects()->enableBlurBehind(window, enable, region);
|
||||
}
|
||||
|
||||
void enableBackgroundContrast(QWindow *window, bool enable, qreal contrast, qreal intensity, qreal saturation, const QRegion ®ion)
|
||||
{
|
||||
KWindowSystemPluginWrapper::self().effects()->enableBackgroundContrast(window, enable, contrast, intensity, saturation, region);
|
||||
}
|
||||
|
||||
void slideWindow(QWindow *window, SlideFromLocation location, int offset)
|
||||
{
|
||||
KWindowSystemPluginWrapper::self().effects()->slideWindow(window, location, offset);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user