/usr/include/xview/screen.h is in xviewg-dev 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | /* @(#)screen.h 20.37 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_DEFINED
#define xview_screen_DEFINED
/*
***********************************************************************
* Include Files
***********************************************************************
*/
#include <xview/generic.h>
/*
***********************************************************************
* Definitions and Macros
***********************************************************************
*/
#ifndef XV_ATTRIBUTES_ONLY
/*
* PUBLIC #defines
*/
#define SCREEN &xv_screen_pkg
/*
* PRIVATE #defines
*/
#define SCREEN_TYPE ATTR_PKG_SCREEN
#endif /* ~XV_ATTRIBUTES_ONLY */
#define SCREEN_ATTR(type, ordinal) ATTR(ATTR_PKG_SCREEN, type, ordinal)
/*
***********************************************************************
* Typedefs, Enumerations, and Structures
***********************************************************************
*/
#ifndef XV_ATTRIBUTES_ONLY
typedef Xv_opaque Xv_Screen;
typedef Xv_opaque Xv_screen;
#endif /* ~XV_ATTRIBUTES_ONLY */
typedef enum {
/*
* Public attributes
*/
SCREEN_NUMBER = SCREEN_ATTR(ATTR_INT, 10),
SCREEN_SERVER = SCREEN_ATTR(ATTR_OPAQUE, 15),
/*
* Private attributes
*/
SCREEN_DEFAULT_VISUAL = SCREEN_ATTR(ATTR_OPAQUE, 75), /* G-- */
SCREEN_VISUAL = SCREEN_ATTR(ATTR_OPAQUE, 80), /* G-- */
/* Format: xv_get(screen, SCREEN_VISUAL, vinfo_template, vinfo_mask); */
SCREEN_IMAGE_VISUAL = SCREEN_ATTR(ATTR_OPAQUE, 85), /* G-- */
/* Format: xv_get(screen, SCREEN_IMAGE_VISUAL, xid, depth); */
SCREEN_DEFAULT_CMS = SCREEN_ATTR(ATTR_OPAQUE, 30),
SCREEN_RETAIN_WINDOWS = SCREEN_ATTR(ATTR_BOOLEAN, 40),
SCREEN_BG1_PIXMAP = SCREEN_ATTR(ATTR_OPAQUE, 50),
SCREEN_BG2_PIXMAP = SCREEN_ATTR(ATTR_OPAQUE, 55),
SCREEN_BG3_PIXMAP = SCREEN_ATTR(ATTR_OPAQUE, 60),
SCREEN_GINFO = SCREEN_ATTR(ATTR_OPAQUE, 65),
SCREEN_OLGC_LIST = SCREEN_ATTR(ATTR_OPAQUE, 70), /* G-- */
SCREEN_SUN_WINDOW_STATE = SCREEN_ATTR(ATTR_BOOLEAN, 90),
SCREEN_SELECTION_STATE = SCREEN_ATTR(ATTR_LONG, 95)
} Screen_attr;
/* Define the different types of GC available in the GC list */
#define SCREEN_SET_GC 0
#define SCREEN_CLR_GC 1
#define SCREEN_TEXT_GC 2
#define SCREEN_BOLD_GC 3
#define SCREEN_GLYPH_GC 4
#define SCREEN_INACTIVE_GC 5
#define SCREEN_DIM_GC 6
#define SCREEN_INVERT_GC 7
#define SCREEN_NONSTD_GC 8 /* Color or non-standard font */
#define SCREEN_RUBBERBAND_GC 9
#define SCREEN_OLGC_LIST_SIZE 10
#ifndef XV_ATTRIBUTES_ONLY
typedef struct {
Xv_generic_struct parent;
Xv_opaque private_data;
} Xv_screen_struct;
#endif /* ~XV_ATTRIBUTES_ONLY */
/*
***********************************************************************
* Globals
***********************************************************************
*/
/*
* PUBLIC Variables
*/
extern Xv_Screen xv_default_screen;
/*
* PRIVATE Variables
*/
extern Xv_pkg xv_screen_pkg;
#endif /* ~xview_screen_DEFINED */
|