KWin
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
x
Variables
a
c
e
f
g
i
k
l
o
p
q
r
s
t
v
w
x
Typedefs
Enumerations
a
c
d
e
g
h
k
l
m
n
o
p
q
r
s
t
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
a
b
c
d
e
f
g
i
k
l
o
p
q
r
s
t
v
w
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
d
e
g
k
l
m
o
q
s
w
x
Variables
Typedefs
c
d
e
l
p
r
s
x
Enumerations
Macros
_
a
b
c
d
e
f
g
k
l
m
n
p
q
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
src
3rdparty
xcursor.h
Go to the documentation of this file.
1
/*
2
* Copyright © 2002 Keith Packard
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining
5
* a copy of this software and associated documentation files (the
6
* "Software"), to deal in the Software without restriction, including
7
* without limitation the rights to use, copy, modify, merge, publish,
8
* distribute, sublicense, and/or sell copies of the Software, and to
9
* permit persons to whom the Software is furnished to do so, subject to
10
* the following conditions:
11
*
12
* The above copyright notice and this permission notice (including the
13
* next paragraph) shall be included in all copies or substantial
14
* portions of the Software.
15
*
16
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
20
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
* SOFTWARE.
24
*/
25
26
#ifndef XCURSOR_H
27
#define XCURSOR_H
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
#include <stdint.h>
34
35
typedef
int
XcursorBool
;
36
typedef
uint32_t
XcursorUInt
;
37
38
typedef
XcursorUInt
XcursorDim
;
39
typedef
XcursorUInt
XcursorPixel
;
40
41
typedef
struct
_XcursorImage
{
42
XcursorUInt
version
;
/* version of the image data */
43
XcursorDim
size
;
/* nominal size for matching */
44
XcursorDim
width
;
/* actual width */
45
XcursorDim
height
;
/* actual height */
46
XcursorDim
xhot
;
/* hot spot x (must be inside image) */
47
XcursorDim
yhot
;
/* hot spot y (must be inside image) */
48
XcursorUInt
delay
;
/* animation delay to next frame (ms) */
49
XcursorPixel
*
pixels
;
/* pointer to pixels */
50
}
XcursorImage
;
41
typedef
struct
_XcursorImage
{
…
};
51
52
/*
53
* Other data structures exposed by the library API
54
*/
55
typedef
struct
_XcursorImages
{
56
int
nimage
;
/* number of images */
57
XcursorImage
**
images
;
/* array of XcursorImage pointers */
58
}
XcursorImages
;
55
typedef
struct
_XcursorImages
{
…
};
59
60
XcursorImages
*
61
XcursorFileLoadImages
(
const
char
*file,
int
size);
62
63
void
64
XcursorImagesDestroy
(
XcursorImages
*images);
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
_XcursorImage
Definition
xcursor.h:41
_XcursorImage::delay
XcursorUInt delay
Definition
xcursor.h:48
_XcursorImage::width
XcursorDim width
Definition
xcursor.h:44
_XcursorImage::yhot
XcursorDim yhot
Definition
xcursor.h:47
_XcursorImage::xhot
XcursorDim xhot
Definition
xcursor.h:46
_XcursorImage::version
XcursorUInt version
Definition
xcursor.h:42
_XcursorImage::pixels
XcursorPixel * pixels
Definition
xcursor.h:49
_XcursorImage::size
XcursorDim size
Definition
xcursor.h:43
_XcursorImage::height
XcursorDim height
Definition
xcursor.h:45
_XcursorImages
Definition
xcursor.h:55
_XcursorImages::nimage
int nimage
Definition
xcursor.h:56
_XcursorImages::images
XcursorImage ** images
Definition
xcursor.h:57
XcursorImages
struct _XcursorImages XcursorImages
XcursorImagesDestroy
void XcursorImagesDestroy(XcursorImages *images)
Definition
xcursor.c:245
XcursorFileLoadImages
XcursorImages * XcursorFileLoadImages(const char *file, int size)
Definition
xcursor.c:580
XcursorBool
int XcursorBool
Definition
xcursor.h:35
XcursorUInt
uint32_t XcursorUInt
Definition
xcursor.h:36
XcursorPixel
XcursorUInt XcursorPixel
Definition
xcursor.h:39
XcursorImage
struct _XcursorImage XcursorImage
XcursorDim
XcursorUInt XcursorDim
Definition
xcursor.h:38
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0