Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:30

0001 /************************************************************
0002 
0003 Copyright 1989, 1998  The Open Group
0004 
0005 Permission to use, copy, modify, distribute, and sell this software and its
0006 documentation for any purpose is hereby granted without fee, provided that
0007 the above copyright notice appear in all copies and that both that
0008 copyright notice and this permission notice appear in supporting
0009 documentation.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
0017 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
0018 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
0019 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0020 
0021 Except as contained in this notice, the name of The Open Group shall not be
0022 used in advertising or otherwise to promote the sale, use or other dealings
0023 in this Software without prior written authorization from The Open Group.
0024 
0025 ********************************************************/
0026 
0027 #ifndef _SHAPECONST_H_
0028 #define _SHAPECONST_H_
0029 
0030 /*
0031  * Protocol requests constants and alignment values
0032  * These would really be in SHAPE's X.h and Xproto.h equivalents
0033  */
0034 
0035 #define SHAPENAME "SHAPE"
0036 
0037 #define SHAPE_MAJOR_VERSION 1   /* current version numbers */
0038 #define SHAPE_MINOR_VERSION 1
0039 
0040 #define ShapeSet            0
0041 #define ShapeUnion          1
0042 #define ShapeIntersect          2
0043 #define ShapeSubtract           3
0044 #define ShapeInvert         4
0045 
0046 #define ShapeBounding           0
0047 #define ShapeClip           1
0048 #define ShapeInput          2
0049 
0050 #define ShapeNotifyMask         (1L << 0)
0051 #define ShapeNotify         0
0052 
0053 #define ShapeNumberEvents       (ShapeNotify + 1)
0054 
0055 #endif /* _SHAPECONST_H_ */