GXDE Bernese
Toggle main menu visibility
Loading...
Searching...
No Matches
src
window_effects
window_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_WINDOW_EFFECTS_H_
19
#define WINDOW_EFFECTS_WINDOW_EFFECTS_H_
20
21
#include "QList"
22
#include "QRect"
23
#include "QWindow"
24
25
#include "bernese/export.h"
26
27
namespace
bernese {
28
namespace
window_effects {
29
52
BERNESE_EXPORT
bool
SetBlurBehind(
53
QWindow* window,
const
QList<QRect>& areas = {},
int
radius = 0);
54
63
BERNESE_EXPORT
bool
ClearBlurBehind(QWindow* window);
64
79
BERNESE_EXPORT
bool
SetWindowRadius(QWindow* window,
int
radius);
80
88
BERNESE_EXPORT
bool
SetNoTitleBar(QWindow* window,
bool
no_title_bar);
89
99
BERNESE_EXPORT
bool
HasCompositingManager();
100
112
BERNESE_EXPORT
bool
IsBlurBehindSupported();
113
114
}
// namespace window_effects
115
}
// namespace bernese
116
117
#endif
// WINDOW_EFFECTS_WINDOW_EFFECTS_H_
Generated by
1.18.0