"Fossies" - the Fresh Open Source Software Archive 
Member "FreeBASIC-1.09.0-win64/inc/X11/extensions/ag.bi" (1 Jan 2022, 1887 Bytes) of package /windows/misc/FreeBASIC-1.09.0-win64.zip:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Visual Basic source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 '' FreeBASIC binding for xextproto-7.3.0
2 ''
3 '' based on the C header files:
4 '' Copyright 1996, 1998 The Open Group
5 ''
6 '' Permission to use, copy, modify, distribute, and sell this software and its
7 '' documentation for any purpose is hereby granted without fee, provided that
8 '' the above copyright notice appear in all copies and that both that
9 '' copyright notice and this permission notice appear in supporting
10 '' documentation.
11 ''
12 '' The above copyright notice and this permission notice shall be included
13 '' in all copies or substantial portions of the Software.
14 ''
15 '' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 '' OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 '' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 '' IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 '' OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 '' ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 '' OTHER DEALINGS IN THE SOFTWARE.
22 ''
23 '' Except as contained in this notice, the name of The Open Group shall
24 '' not be used in advertising or otherwise to promote the sale, use or
25 '' other dealings in this Software without prior written authorization
26 '' from The Open Group.
27 ''
28 '' translated to FreeBASIC by:
29 '' Copyright © 2015 FreeBASIC development team
30
31 #pragma once
32
33 #define _AG_H_
34 #define XAGNAME "XC-APPGROUP"
35 const XAG_MAJOR_VERSION = 1
36 const XAG_MINOR_VERSION = 0
37 const XagWindowTypeX11 = 0
38 const XagWindowTypeMacintosh = 1
39 const XagWindowTypeWin32 = 2
40 const XagWindowTypeWin16 = 3
41 const XagBadAppGroup = 0
42 const XagNumberErrors = XagBadAppGroup + 1
43 const XagNsingleScreen = 7
44 const XagNdefaultRoot = 1
45 const XagNrootVisual = 2
46 const XagNdefaultColormap = 3
47 const XagNblackPixel = 4
48 const XagNwhitePixel = 5
49 const XagNappGroupLeader = 6