KWin
Loading...
Searching...
No Matches
src
scene
cursorscene.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 "
scene/scene.h
"
10
11
namespace
KWin
12
{
13
14
class
CursorItem;
15
class
Output;
16
17
class
KWIN_EXPORT
CursorScene
:
public
Scene
18
{
19
Q_OBJECT
20
21
public
:
22
explicit
CursorScene
(std::unique_ptr<ItemRenderer> &&renderer);
23
~CursorScene
()
override
;
24
25
QRegion prePaint(
SceneDelegate
*delegate)
override
;
26
void
postPaint()
override
;
27
void
paint(
const
RenderTarget
&renderTarget,
const
QRegion ®ion)
override
;
28
29
private
:
30
std::unique_ptr<CursorItem> m_rootItem;
31
Output
*m_paintedOutput =
nullptr
;
32
};
33
34
}
// namespace KWin
KWin::CursorScene
Definition
cursorscene.h:18
KWin::Output
Definition
output.h:132
KWin::RenderTarget
Definition
rendertarget.h:21
KWin::SceneDelegate
Definition
scene.h:23
KWin::Scene
Definition
scene.h:44
KWin
Definition
activation_test.cpp:20
scene.h
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0