github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/xkbcommon/include/X11/extensions/ag.h (about)

     1  /*
     2  Copyright 1996, 1998  The Open Group
     3  
     4  Permission to use, copy, modify, distribute, and sell this software and its
     5  documentation for any purpose is hereby granted without fee, provided that
     6  the above copyright notice appear in all copies and that both that
     7  copyright notice and this permission notice appear in supporting
     8  documentation.
     9  
    10  The above copyright notice and this permission notice shall be included
    11  in all copies or substantial portions of the Software.
    12  
    13  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    14  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    15  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    16  IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
    17  OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
    18  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    19  OTHER DEALINGS IN THE SOFTWARE.
    20  
    21  Except as contained in this notice, the name of The Open Group shall
    22  not be used in advertising or otherwise to promote the sale, use or
    23  other dealings in this Software without prior written authorization
    24  from The Open Group.
    25  */
    26  
    27  #ifndef _AG_H_
    28  #define _AG_H_
    29  
    30  #define XAGNAME "XC-APPGROUP"
    31  
    32  #define XAG_MAJOR_VERSION	1	/* current version numbers */
    33  #define XAG_MINOR_VERSION	0
    34  
    35  #define XagWindowTypeX11	0
    36  #define XagWindowTypeMacintosh	1
    37  #define XagWindowTypeWin32	2
    38  #define XagWindowTypeWin16	3
    39  
    40  #define XagBadAppGroup			0
    41  #define XagNumberErrors			(XagBadAppGroup + 1)
    42  
    43  #define XagNsingleScreen		7
    44  #define XagNdefaultRoot			1
    45  #define XagNrootVisual			2
    46  #define XagNdefaultColormap		3
    47  #define XagNblackPixel			4
    48  #define XagNwhitePixel			5
    49  #define XagNappGroupLeader		6
    50  
    51  #endif /* _AG_H_ */
    52