/usr/share/z88dk/include/gray.h is in z88dk-data 1.8.ds1-10.
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 | #ifndef __GRAY_H__
#define __GRAY_H__
/*
* Gray Library. Originally written for TI calcs but
* hopefully it will grow in the future...
*
* $Id: gray.h,v 1.4 2001/10/16 18:30:31 dom Exp $
*/
#pragma output GRAYlib
#define G_BLACK 0
#define G_DARK 1
#define G_GRAY 2
#define G_LIGHT 2
#define G_WHITE 3
/* Select actual gray page for the standard gfx funtions */
extern __LIB__ g_page(int page);
/* Plot a pixel to screen */
extern __LIB__ g_plot(int x, int y, int GrayLevel);
/* Get pixel status */
extern __LIB__ g_point(int x, int y);
/* Draw a line */
extern __LIB__ g_draw(int x1, int y1, int x2, int y2, int GrayLevel);
/* Relative draw */
extern __LIB__ g_drawr(int px, int py, int GrayLevel);
/* Draw a box */
extern __LIB__ g_drawb(int tlx, int tly, int width, int height, int GrayLevel);
/* Draw a circle */
extern __LIB__ g_circle(int x, int y, int radius, int skip, int GrayLevel);
/* Clear map */
extern __LIB__ g_clg(int GrayLevel);
#endif
|