KWin
Loading...
Searching...
No Matches
src
scene
cursordelegate_qpainter.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
core/renderlayerdelegate.h
"
10
11
#include <QImage>
12
13
namespace
KWin
14
{
15
16
class
Output;
17
18
class
CursorDelegateQPainter
final :
public
RenderLayerDelegate
19
{
20
public
:
21
CursorDelegateQPainter
(
Output
*output);
22
23
void
paint
(
const
RenderTarget
&renderTarget,
const
QRegion ®ion)
override
;
24
25
private
:
26
Output
*
const
m_output;
27
QImage m_buffer;
28
};
29
30
}
// namespace KWin
KWin::CursorDelegateQPainter
Definition
cursordelegate_qpainter.h:19
KWin::CursorDelegateQPainter::CursorDelegateQPainter
CursorDelegateQPainter(Output *output)
Definition
cursordelegate_qpainter.cpp:21
KWin::CursorDelegateQPainter::paint
void paint(const RenderTarget &renderTarget, const QRegion ®ion) override
Definition
cursordelegate_qpainter.cpp:26
KWin::Output
Definition
output.h:132
KWin::RenderLayerDelegate
Definition
renderlayerdelegate.h:28
KWin::RenderTarget
Definition
rendertarget.h:21
KWin
Definition
activation_test.cpp:20
renderlayerdelegate.h
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0