/usr/include/xview_private/charscreen.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 | /* @(#)charscreen.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.
*/
/*
* Definitions relating to physical screen image.
*/
/*
* Macros to convert character coordinates to pixel coordinates.
*/
#define row_to_y(row) ((row)*chrheight)
#define col_to_x(col) (((col)*chrwidth) + chrleftmargin)
#define y_to_row(y) ((y)/chrheight)
#define x_to_col(x) ((((x) >= chrleftmargin) ? \
((x) - chrleftmargin) : 0)/chrwidth)
/*
* Character dimensions (fixed width fonts only!)
* and of screen in pixels.
*/
#if !defined(__linux__) || defined(__DEFINE_CHARSCREEN_VARS)
int chrheight, chrwidth, chrbase;
int winheightp, winwidthp;
int chrleftmargin;
struct pixfont *pixfont;
/*
* If delaypainting, delay painting. Set when clear screen.
* When input will block then paint characters (! white space) of entire image
* and turn delaypainting off.
*/
int delaypainting;
#else /* __linux__ && !__DEFINE_CHARSCREEN_VARS */
extern int chrheight, chrwidth, chrbase;
extern int winheightp, winwidthp;
extern int chrleftmargin;
extern struct pixfont *pixfont;
extern int delaypainting;
#endif
#ifdef cplus
void ttysw_pstring(char *s, int col, int row);
void ttysw_pclearline(int fromcol, int tocol, int row);
void ttysw_pcopyline(int fromcol, int tocol, int count, int row);
void ttysw_pclearscreen(int fromrow, int torow, int count);
#endif
|