jpayne@69: /************************************************************ jpayne@69: Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc. jpayne@69: Permission to use, copy, modify, and distribute this jpayne@69: software and its documentation for any purpose and without jpayne@69: fee is hereby granted, provided that the above copyright jpayne@69: notice appear in all copies and that both that copyright jpayne@69: notice and this permission notice appear in supporting jpayne@69: documentation, and that the name of Silicon Graphics not be jpayne@69: used in advertising or publicity pertaining to distribution jpayne@69: of the software without specific prior written permission. jpayne@69: Silicon Graphics makes no representation about the suitability jpayne@69: of this software for any purpose. It is provided "as is" jpayne@69: without any express or implied warranty. jpayne@69: SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS jpayne@69: SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY jpayne@69: AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON jpayne@69: GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL jpayne@69: DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, jpayne@69: DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE jpayne@69: OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH jpayne@69: THE USE OR PERFORMANCE OF THIS SOFTWARE. jpayne@69: ********************************************************/ jpayne@69: jpayne@69: #ifndef _XEVI_H_ jpayne@69: #define _XEVI_H_ jpayne@69: #include jpayne@69: #include jpayne@69: jpayne@69: typedef struct { jpayne@69: VisualID core_visual_id; jpayne@69: int screen; jpayne@69: int level; jpayne@69: unsigned int transparency_type; jpayne@69: unsigned int transparency_value; jpayne@69: unsigned int min_hw_colormaps; jpayne@69: unsigned int max_hw_colormaps; jpayne@69: unsigned int num_colormap_conflicts; jpayne@69: VisualID* colormap_conflicts; jpayne@69: } ExtendedVisualInfo; jpayne@69: jpayne@69: _XFUNCPROTOBEGIN jpayne@69: jpayne@69: Bool XeviQueryExtension( jpayne@69: Display* /* dpy */ jpayne@69: ); jpayne@69: Status XeviQueryVersion( jpayne@69: Display* /* dpy */, jpayne@69: int* /* majorVersion */, jpayne@69: int* /* minorVersion */ jpayne@69: ); jpayne@69: Status XeviGetVisualInfo( jpayne@69: Display* /* dpy */, jpayne@69: VisualID* /* visual_query */, jpayne@69: int /* nVisual_query */, jpayne@69: ExtendedVisualInfo** /* extendedVisualInfo_return */, jpayne@69: int* /* nInfo_return */ jpayne@69: ); jpayne@69: jpayne@69: _XFUNCPROTOEND jpayne@69: jpayne@69: #endif