-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathshapes.h
50 lines (46 loc) · 2.29 KB
/
shapes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Bespin library for Qt style, KWin decoration and everythng else
* Copyright 2009-2014 by Thomas Lübking <[email protected]>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License version 2
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef PATHS_H
#define PATHS_H
class QPainterPath;
class QRectF;
namespace BE
{
namespace Shapes
{
enum Style { Square, Round, TheRob, LasseKongo, Simple };
BLIB_EXPORT QPainterPath close(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath min(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath max(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath dockControl(const QRectF &bound, bool floating, Style style = Round);
BLIB_EXPORT QPainterPath restore(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath stick(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath unstick(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath keepAbove(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath keepBelow(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath unAboveBelow(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath menu(const QRectF &bound, bool leftSide, Style style = Round);
BLIB_EXPORT QPainterPath help(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath shade(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath unshade(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath exposee(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath info(const QRectF &bound, Style style = Round);
BLIB_EXPORT QPainterPath logo(const QRectF &bound);
}
}
#endif // PATHS_H