File: Fcursor.h

package info (click to toggle)
fvwm 1:2.6.8-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,804 kB
  • sloc: ansic: 145,770; xml: 17,093; perl: 7,302; sh: 4,921; makefile: 1,094; yacc: 688; lex: 187; sed: 11
file content (42 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download | duplicates (7)
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
#ifndef FCURSOR_H
#define FCURSOR_H

#ifdef HAVE_XCURSOR
#	include <X11/Xcursor/Xcursor.h>

	typedef XcursorImage			FcursorImage;
	typedef XcursorImages			FcursorImages;
	typedef XcursorPixel			FcursorPixel;

#	define FcursorFilenameLoadImages(a,b)	XcursorFilenameLoadImages(a,b)
#	define FcursorGetDefaultSize(a)		XcursorGetDefaultSize(a)
#	define FcursorImageCreate(a,b)		XcursorImageCreate(a,b)
#	define FcursorImageDestroy(a)		XcursorImageDestroy(a)
#	define FcursorImagesDestroy(a)		XcursorImagesDestroy(a)
#	define FcursorImageLoadCursor(a,b)	XcursorImageLoadCursor(a,b)
#	define FcursorImagesLoadCursor(a,b)	XcursorImagesLoadCursor(a,b)
#else
	typedef struct {
		int width;
		int height;
		int xhot;
		int yhot;
		int delay;
		void *pixels;
	} FcursorImage;
	typedef struct {
		int nimage;
		FcursorImage **images;
	} FcursorImages;
	typedef void FcursorPixel;

#	define FcursorFilenameLoadImages(a,b) 0
#	define FcursorGetDefaultSize(a) 0
#	define FcursorImageCreate(a,b) 0
#	define FcursorImageDestroy(a)
#	define FcursorImagesDestroy(a)
#	define FcursorImageLoadCursor(a,b) 0
#	define FcursorImagesLoadCursor(a,b) 0
#endif

#endif /* FCURSOR_H */