GXDE Bernese
Toggle main menu visibility
Loading...
Searching...
No Matches
src
window_effects
wayland_effects.h
1
/*
2
* Copyright (C) 2026 CharOfString <root@charofstring.cc>
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation, either version 3 of the License, or (at your option)
7
* any later version.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
* more details.
13
*
14
* You should have received a copy of the GNU General Public License along with
15
* this program. If not, see <https://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef WINDOW_EFFECTS_WAYLAND_EFFECTS_H_
19
#define WINDOW_EFFECTS_WAYLAND_EFFECTS_H_
20
21
#include "QList"
22
#include "QRect"
23
24
QT_BEGIN_NAMESPACE
25
class
QWindow;
26
QT_END_NAMESPACE
27
28
namespace
bernese {
29
namespace
window_effects {
30
namespace
internal {
31
37
bool
IsWayland();
38
49
bool
SetWaylandBlur(QWindow* window,
const
QList<QRect>& areas);
50
57
bool
ClearWaylandBlur(QWindow* window);
58
64
bool
HasWaylandBlur();
65
74
bool
SetWaylandWindowRadius(QWindow* window,
int
radius);
75
84
bool
SetWaylandNoTitleBar(QWindow* window,
bool
no_title_bar);
85
86
}
// namespace internal
87
}
// namespace window_effects
88
}
// namespace bernese
89
90
#endif
// WINDOW_EFFECTS_WAYLAND_EFFECTS_H_
Generated by
1.18.0