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