shapestr.h revision a2760a4d593af57a19ec32cdfd1723b68495df8c
/************************************************************
Copyright 1989, 1998 The Open Group
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.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
********************************************************/
/* $Xorg: shapestr.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
#ifndef _SHAPESTR_H_
#define _SHAPESTR_H_
/*
* Protocol requests constants and alignment values
*/
#include "shape.h"
#define SHAPENAME "SHAPE"
#define SHAPE_MINOR_VERSION 1
typedef struct _ShapeQueryVersion {
#define sz_xShapeQueryVersionReq 4
typedef struct {
#define sz_xShapeQueryVersionReply 32
typedef struct _ShapeRectangles {
} xShapeRectanglesReq; /* followed by xRects */
#define sz_xShapeRectanglesReq 16
typedef struct _ShapeMask {
#define sz_xShapeMaskReq 20
typedef struct _ShapeCombine {
#define sz_xShapeCombineReq 20
typedef struct _ShapeOffset {
#define sz_xShapeOffsetReq 16
typedef struct _ShapeQueryExtents {
#define sz_xShapeQueryExtentsReq 8
typedef struct {
#define sz_xShapeQueryExtentsReply 32
typedef struct _ShapeSelectInput {
#define sz_xShapeSelectInputReq 12
typedef struct _ShapeNotify {
#define sz_xShapeNotifyEvent 32
typedef struct _ShapeInputSelected {
#define sz_xShapeInputSelectedReq 8
typedef struct {
#define sz_xShapeInputSelectedReply 32
typedef struct _ShapeGetRectangles {
#define sz_xShapeGetRectanglesReq 12
typedef struct {
} xShapeGetRectanglesReply; /* followed by xRectangles */
#define sz_xShapeGetRectanglesReply 32
#endif /* _SHAPESTR_H_ */