/usr/include/xview/cms_mono.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 | /* @(#)cms_mono.h 20.12 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.
*/
/*
* Definition of the colormap segment CMS_MONOCHROME,
* a black and white color map segment.
*/
#ifndef xview_cms_mono_DEFINED
#define xview_cms_mono_DEFINED
/*
***********************************************************************
* Definitions and Macros
***********************************************************************
*/
/*
* PUBLIC #defines
*/
#define CMS_MONOCHROME "monochrome"
#define CMS_MONOCHROMESIZE 2
#define WHITE 0
#define BLACK 1
#define cms_monochromeload(r,g,b) \
(r)[WHITE] = -1;(g)[WHITE] = -1;(b)[WHITE] = -1; \
(r)[BLACK] = 0;(g)[BLACK] = 0;(b)[BLACK] = 0;
#endif /* ~xview_cms_mono_DEFINED */
|