Xcm.h | Xcm.h | |||
---|---|---|---|---|
/* @file Xcm.h | ||||
* | ||||
* libXcm Xorg Colour Management | ||||
* | ||||
* @par Copyright: | ||||
* 2008 (C) Tomas Carnecky | ||||
* 2008-2010 (C) Kai-Uwe Behrmann | ||||
* | ||||
* @brief net-color spec helpers | ||||
* @internal | ||||
* @author Tomas Carnecky | ||||
* Kai-Uwe Behrmann <ku.b@gmx.de> | ||||
* @par License: | ||||
* MIT <http://www.opensource.org/licenses/mit-license.php> | ||||
* @since 2008/04/00 | ||||
*/ | ||||
#ifndef __XCOLOR_H__ | #ifndef __XCOLOR_H__ | |||
#define __XCOLOR_H__ | #define __XCOLOR_H__ | |||
#include <X11/Xlib.h> | #include <X11/Xlib.h> | |||
#include <X11/Xatom.h> | #include <X11/Xatom.h> | |||
#include <stdint.h> | #include <stdint.h> | |||
#include <arpa/inet.h> | #include <arpa/inet.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif /* __cplusplus */ | ||||
/** \addtogroup Xcm X Color Management Core API's | /** \addtogroup Xcm X Color Management Core API's | |||
* @{ | * @{ | |||
*/ | */ | |||
/** | /** | |||
* The XcolorProfile typedefed structure | * The XcolorProfile typedefed structure | |||
* describes a single ICC profile. The 'md5' field is used to identify the | * describes a single ICC profile. The 'md5' field is used to identify the | |||
* profile. The actual data follows right after the structure. | * profile. The actual data follows right after the structure. | |||
*/ | */ | |||
skipping to change at line 102 | skipping to change at line 122 | |||
* Activates 'count' regions starting at positiong 'start' in the stack. Un like | * Activates 'count' regions starting at positiong 'start' in the stack. Un like | |||
* the other functions it does not check whether 'start + count' extends be yond | * the other functions it does not check whether 'start + count' extends be yond | |||
* the stack end. To disable all regions pass zero to 'count'. | * the stack end. To disable all regions pass zero to 'count'. | |||
*/ | */ | |||
int XcolorRegionActivate(Display *dpy, Window win, unsigned long start, uns igned long count); | int XcolorRegionActivate(Display *dpy, Window win, unsigned long start, uns igned long count); | |||
/** | /** | |||
* @} *//*Xcm | * @} *//*Xcm | |||
*/ | */ | |||
#ifdef __cplusplus | ||||
} /* extern "C" */ | ||||
#endif /* __cplusplus */ | ||||
#endif /* __XCOLOR_H__ */ | #endif /* __XCOLOR_H__ */ | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 24 lines changed or added | |||