Xcursor.h | Xcursor.h | |||
---|---|---|---|---|
/* | /* | |||
* $Id: Xcursor.h,v 1.6 2005/11/09 21:31:19 kem Exp $ | * $Id$ | |||
* | * | |||
* Copyright © 2002 Keith Packard | * Copyright © 2002 Keith Packard | |||
* | * | |||
* Permission to use, copy, modify, distribute, and sell this software and its | * Permission to use, copy, modify, distribute, and sell this software and its | |||
* documentation for any purpose is hereby granted without fee, provided th at | * documentation for any purpose is hereby granted without fee, provided th at | |||
* the above copyright notice appear in all copies and that both that | * the above copyright notice appear in all copies and that both that | |||
* copyright notice and this permission notice appear in supporting | * copyright notice and this permission notice appear in supporting | |||
* documentation, and that the name of Keith Packard not be used in | * documentation, and that the name of Keith Packard not be used in | |||
* advertising or publicity pertaining to distribution of the software with out | * advertising or publicity pertaining to distribution of the software with out | |||
* specific, written prior permission. Keith Packard makes no | * specific, written prior permission. Keith Packard makes no | |||
skipping to change at line 29 | skipping to change at line 29 | |||
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF U SE, | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF U SE, | |||
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | |||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | |||
* PERFORMANCE OF THIS SOFTWARE. | * PERFORMANCE OF THIS SOFTWARE. | |||
*/ | */ | |||
#ifndef _XCURSOR_H_ | #ifndef _XCURSOR_H_ | |||
#define _XCURSOR_H_ | #define _XCURSOR_H_ | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <X11/Xfuncproto.h> | #include <X11/Xfuncproto.h> | |||
#include <X11/Xlib.h> | ||||
typedef int XcursorBool; | typedef int XcursorBool; | |||
typedef unsigned int XcursorUInt; | typedef unsigned int XcursorUInt; | |||
typedef XcursorUInt XcursorDim; | typedef XcursorUInt XcursorDim; | |||
typedef XcursorUInt XcursorPixel; | typedef XcursorUInt XcursorPixel; | |||
#define XcursorTrue 1 | #define XcursorTrue 1 | |||
#define XcursorFalse 0 | #define XcursorFalse 0 | |||
skipping to change at line 80 | skipping to change at line 81 | |||
#define XCURSOR_MAGIC 0x72756358 /* "Xcur" LSBFirst */ | #define XCURSOR_MAGIC 0x72756358 /* "Xcur" LSBFirst */ | |||
/* | /* | |||
* Current Xcursor version number. This same number | * Current Xcursor version number. This same number | |||
* must appear in the Xcursor configure.ac file. Yes, | * must appear in the Xcursor configure.ac file. Yes, | |||
* it'a a pain to synchronize version numbers like this. | * it'a a pain to synchronize version numbers like this. | |||
*/ | */ | |||
#define XCURSOR_LIB_MAJOR 1 | #define XCURSOR_LIB_MAJOR 1 | |||
#define XCURSOR_LIB_MINOR 1 | #define XCURSOR_LIB_MINOR 1 | |||
#define XCURSOR_LIB_REVISION 5 | #define XCURSOR_LIB_REVISION 6 | |||
#define XCURSOR_LIB_VERSION ((XCURSOR_LIB_MAJOR * 10000) + \ | #define XCURSOR_LIB_VERSION ((XCURSOR_LIB_MAJOR * 10000) + \ | |||
(XCURSOR_LIB_MINOR * 100) + \ | (XCURSOR_LIB_MINOR * 100) + \ | |||
(XCURSOR_LIB_REVISION)) | (XCURSOR_LIB_REVISION)) | |||
/* | /* | |||
* This version number is stored in cursor files; changes to the | * This version number is stored in cursor files; changes to the | |||
* file format require updating this version number | * file format require updating this version number | |||
*/ | */ | |||
#define XCURSOR_FILE_MAJOR 1 | #define XCURSOR_FILE_MAJOR 1 | |||
#define XCURSOR_FILE_MINOR 0 | #define XCURSOR_FILE_MINOR 0 | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||