1 | /* $Xorg: XEVI.h,v 1.3 2000/08/18 04:05:44 coskrey Exp $ */
|
---|
2 | /************************************************************
|
---|
3 | Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
|
---|
4 | Permission to use, copy, modify, and distribute this
|
---|
5 | software and its documentation for any purpose and without
|
---|
6 | fee is hereby granted, provided that the above copyright
|
---|
7 | notice appear in all copies and that both that copyright
|
---|
8 | notice and this permission notice appear in supporting
|
---|
9 | documentation, and that the name of Silicon Graphics not be
|
---|
10 | used in advertising or publicity pertaining to distribution
|
---|
11 | of the software without specific prior written permission.
|
---|
12 | Silicon Graphics makes no representation about the suitability
|
---|
13 | of this software for any purpose. It is provided "as is"
|
---|
14 | without any express or implied warranty.
|
---|
15 | SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
|
---|
16 | SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
17 | AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
|
---|
18 | GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
|
---|
19 | DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
---|
20 | DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
---|
21 | OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
|
---|
22 | THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
23 | ********************************************************/
|
---|
24 | /* $XFree86$ */
|
---|
25 |
|
---|
26 | #ifndef _XEVI_H_
|
---|
27 | #define _XEVI_H_
|
---|
28 | #include <X11/Xfuncproto.h>
|
---|
29 | #define X_EVIQueryVersion 0
|
---|
30 | #define X_EVIGetVisualInfo 1
|
---|
31 | #define XEVI_TRANSPARENCY_NONE 0
|
---|
32 | #define XEVI_TRANSPARENCY_PIXEL 1
|
---|
33 | #define XEVI_TRANSPARENCY_MASK 2
|
---|
34 | #ifndef _XEVI_SERVER_
|
---|
35 | typedef struct {
|
---|
36 | VisualID core_visual_id;
|
---|
37 | int screen;
|
---|
38 | int level;
|
---|
39 | unsigned int transparency_type;
|
---|
40 | unsigned int transparency_value;
|
---|
41 | unsigned int min_hw_colormaps;
|
---|
42 | unsigned int max_hw_colormaps;
|
---|
43 | unsigned int num_colormap_conflicts;
|
---|
44 | VisualID* colormap_conflicts;
|
---|
45 | } ExtendedVisualInfo;
|
---|
46 | _XFUNCPROTOBEGIN
|
---|
47 | Bool XeviQueryExtension(
|
---|
48 | Display* /* dpy */
|
---|
49 | );
|
---|
50 | Status XeviQueryVersion(
|
---|
51 | Display* /* dpy */,
|
---|
52 | int* /* majorVersion */,
|
---|
53 | int* /* minorVersion */
|
---|
54 | );
|
---|
55 | Status XeviGetVisualInfo(
|
---|
56 | Display* /* dpy */,
|
---|
57 | VisualID* /* visual_query */,
|
---|
58 | int /* nVisual_query */,
|
---|
59 | ExtendedVisualInfo** /* extendedVisualInfo_return */,
|
---|
60 | int* /* nInfo_return */
|
---|
61 | );
|
---|
62 | _XFUNCPROTOEND
|
---|
63 | #endif
|
---|
64 | #endif
|
---|