~kris/9p

9hist

8e944063ecf6e6b7793ab66074d92125f08a7844 — David du Colombier 29 years ago cad52d0
Plan 9 from Bell Labs 1997-01-29
1 files changed, 2 insertions(+), 17 deletions(-)

M carrera/screen.c
M carrera/screen.c => carrera/screen.c +2 -17
@@ 60,22 60,6 @@ static Bitmap hwcursor=
	0,
};

uchar bdata[] =
{
	0xa0,
};

Bitmap bgrnd =
{
	{ 0, 0, 1, 1 },
	{ 0, 0, 1, 1 },
	3,
	(ulong*)bdata,
	0,
	4,
	0
};

static Rectangle window;
static Point curpos;
static int h, w;


@@ 89,8 73,9 @@ screenwin(void)
	Cursor zero;

	memset((void*)Screenvirt, 0xff, 3*1024*1024);
	for(y=gscreen.r.min.y; y<gscreen.r.max.y; y++)
		memset(byteaddr(&gscreen, Pt(gscreen.r.min.x, y)), 0xa0, Dx(gscreen.r));

	texture(&gscreen, gscreen.r, &bgrnd, S);
	w = defont0.info[' '].width;
	h = defont0.height;