xfixesproto.h revision 6d63826eda6b7f83377256f4ad0833d0b4e448fd
/*
* $XFree86: xc/include/extensions/xfixesproto.h,v 1.1 2002/11/30 06:21:43 keithp Exp $
*
* Copyright © 2006 Sun Microsystems
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation, and that the name of Sun Microsystems not be used in
* advertising or publicity pertaining to distribution of the software without
* specific, written prior permission. Sun Microsystems makes no
* representations about the suitability of this software for any purpose. It
* is provided "as is" without express or implied warranty.
*
* SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
* EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*
* Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
* copyright notice and this permission notice appear in supporting
* documentation, and that the name of Keith Packard not be used in
* advertising or publicity pertaining to distribution of the software without
* specific, written prior permission. Keith Packard makes no
* representations about the suitability of this software for any purpose. It
* is provided "as is" without express or implied warranty.
*
* KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
* EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _XFIXESPROTO_H_
#define _XFIXESPROTO_H_
#define _SHAPE_SERVER_
/*************** Version 1 ******************/
typedef struct {
} xXFixesReq;
/*
* requests and replies
*/
typedef struct {
#define sz_xXFixesQueryVersionReq 12
typedef struct {
#define sz_xXFixesQueryVersionReply 32
typedef struct {
#define sz_xXFixesChangeSaveSetReq 12
typedef struct {
#define sz_xXFixesSelectSelectionInputReq 16
typedef struct {
typedef struct {
#define sz_xXFixesSelectCursorInputReq 12
typedef struct {
typedef struct {
#define sz_xXFixesGetCursorImageReq 4
typedef struct {
#define sz_xXFixesGetCursorImageReply 32
/*************** Version 2 ******************/
typedef struct {
/* LISTofRECTANGLE */
#define sz_xXFixesCreateRegionReq 8
typedef struct {
#define sz_xXFixesCreateRegionFromBitmapReq 12
typedef struct {
#define sz_xXFixesCreateRegionFromWindowReq 16
typedef struct {
#define sz_xXFixesCreateRegionFromGCReq 12
typedef struct {
#define sz_xXFixesCreateRegionFromPictureReq 12
typedef struct {
#define sz_xXFixesDestroyRegionReq 8
typedef struct {
/* LISTofRECTANGLE */
#define sz_xXFixesSetRegionReq 8
typedef struct {
#define sz_xXFixesCopyRegionReq 12
typedef struct {
#define sz_xXFixesCombineRegionReq 16
typedef struct {
#define sz_xXFixesInvertRegionReq 20
typedef struct {
#define sz_xXFixesTranslateRegionReq 12
typedef struct {
#define sz_xXFixesRegionExtentsReq 12
typedef struct {
#define sz_xXFixesFetchRegionReq 8
typedef struct {
#define sz_xXFixesFetchRegionReply 32
typedef struct {
#define sz_xXFixesSetGCClipRegionReq 16
typedef struct {
#define sz_xXFixesSetWindowShapeRegionReq 20
typedef struct {
#define sz_xXFixesSetPictureClipRegionReq 16
typedef struct {
#define sz_xXFixesSetCursorNameReq 12
typedef struct {
#define sz_xXFixesGetCursorNameReq 8
typedef struct {
#define sz_xXFixesGetCursorNameReply 32
typedef struct {
#define sz_xXFixesGetCursorImageAndNameReq 4
typedef struct {
#define sz_xXFixesGetCursorImageAndNameReply 32
typedef struct {
#define sz_xXFixesChangeCursorReq 12
typedef struct {
#define sz_xXFixesChangeCursorByNameReq 12
/*************** Version 3 ******************/
typedef struct {
#define sz_xXFixesExpandRegionReq 20
/*************** Version 4.0 ******************/
typedef struct {
#define sz_xXFixesHideCursorReq sizeof(xXFixesHideCursorReq)
typedef struct {
#define sz_xXFixesShowCursorReq sizeof(xXFixesShowCursorReq)
#endif /* _XFIXESPROTO_H_ */