mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-26 06:16:53 +03:00
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/* @(#)scrn_vis.h 20.17 93/06/28 SMI */
|
|
|
|
/****************************************************************************/
|
|
/*
|
|
* (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents
|
|
* pending in the U.S. and foreign countries. See LEGAL_NOTICE
|
|
* file for terms of the license.
|
|
*/
|
|
/****************************************************************************/
|
|
|
|
#ifndef _xview_screen_visual_h_already_included
|
|
#define _xview_screen_visual_h_already_included
|
|
|
|
#include <xview/base.h>
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xutil.h>
|
|
|
|
typedef struct screen_visual {
|
|
Xv_object screen;
|
|
Xv_object server;
|
|
Display *display;
|
|
Xv_object root_window;
|
|
XVisualInfo *vinfo;
|
|
unsigned int depth;
|
|
Xv_opaque colormaps; /* List of colormaps to use with this visual (first is the default) */
|
|
GC gc;
|
|
XImage *image_bitmap;
|
|
XImage *image_pixmap;
|
|
struct screen_visual *next;
|
|
} Screen_visual;
|
|
|
|
#endif
|
|
|
|
/* Functions defined in scrn_vis.c */
|
|
Pkg_private Screen_visual *screen_get_visual();
|
|
Pkg_private Screen_visual *screen_get_image_visual();
|
|
Pkg_private Screen_visual *screen_new_visual();
|