File indexing completed on 2024-12-01 13:37:21

0001 /*
0002     SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "core/renderlayerdelegate.h"
0010 
0011 #include <QImage>
0012 
0013 namespace KWin
0014 {
0015 
0016 class CursorDelegateQPainter final : public RenderLayerDelegate
0017 {
0018 public:
0019     void paint(RenderTarget *renderTarget, const QRegion &region) override;
0020 
0021 private:
0022     QImage m_buffer;
0023 };
0024 
0025 } // namespace KWin