Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:14:17

0001 /******************************************************************************
0002  *
0003  * Copyright (c) 1994, 1995  Hewlett-Packard Company
0004  *
0005  * Permission is hereby granted, free of charge, to any person obtaining
0006  * a copy of this software and associated documentation files (the
0007  * "Software"), to deal in the Software without restriction, including
0008  * without limitation the rights to use, copy, modify, merge, publish,
0009  * distribute, sublicense, and/or sell copies of the Software, and to
0010  * permit persons to whom the Software is furnished to do so, subject to
0011  * the following conditions:
0012  *
0013  * The above copyright notice and this permission notice shall be included
0014  * in all copies or substantial portions of the Software.
0015  *
0016  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
0017  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0018  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
0019  * IN NO EVENT SHALL HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM,
0020  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
0021  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
0022  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0023  *
0024  * Except as contained in this notice, the name of the Hewlett-Packard
0025  * Company shall not be used in advertising or otherwise to promote the
0026  * sale, use or other dealings in this Software without prior written
0027  * authorization from the Hewlett-Packard Company.
0028  *
0029  *     Header file for Xlib-related DBE
0030  *
0031  *****************************************************************************/
0032 
0033 #ifndef DBE_H
0034 #define DBE_H
0035 
0036 /* Values for swap_action field of XdbeSwapInfo structure */
0037 #define XdbeUndefined    0
0038 #define XdbeBackground   1
0039 #define XdbeUntouched    2
0040 #define XdbeCopied       3
0041 
0042 /* Errors */
0043 #define XdbeBadBuffer    0
0044 
0045 #define DBE_PROTOCOL_NAME "DOUBLE-BUFFER"
0046 
0047 /* Current version numbers */
0048 #define DBE_MAJOR_VERSION       1
0049 #define DBE_MINOR_VERSION       0
0050 
0051 /* Used when adding extension; also used in Xdbe macros */
0052 #define DbeNumberEvents         0
0053 #define DbeBadBuffer            0
0054 #define DbeNumberErrors         (DbeBadBuffer + 1)
0055 
0056 #endif /* DBE_H */
0057