KWindowSystem

kwindowshadow_p_x11.h
1/*
2 SPDX-FileCopyrightText: 2019 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef KWINDOWSHADOW_P_X11_H
8#define KWINDOWSHADOW_P_X11_H
9
10#include "kwindowshadow_p.h"
11
12#include <xcb/xcb.h>
13
14class KWindowShadowTilePrivateX11 final : public KWindowShadowTilePrivate
15{
16public:
17 bool create() override;
18 void destroy() override;
19
20 static KWindowShadowTilePrivateX11 *get(const KWindowShadowTile *tile);
21
22 xcb_pixmap_t pixmap = XCB_PIXMAP_NONE;
23 xcb_gcontext_t gc = XCB_NONE;
24};
25
26class KWindowShadowPrivateX11 final : public KWindowShadowPrivate
27{
28public:
29 bool create() override;
30 void destroy() override;
31
32 KWindowShadowTile::Ptr getOrCreateEmptyTile();
33
34 KWindowShadowTile::Ptr emptyTile;
35};
36
37#endif // KWINDOWSHADOW_P_X11_H
The KWindowShadowTile class provides a platform-indendent shadow tile representation.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.