From 16a709666981e77a00a88a87b286b586ac77ffdc Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 23 Nov 2003 18:15:43 +0000 Subject: Add drawsetlabel(Display*, char*). Turn window destruction into "hangup" note. Fix (?) snarf buffer management. Add latin1 keyboard translation. --- include/draw.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/draw.h') diff --git a/include/draw.h b/include/draw.h index a9ae96af..029f0aed 100644 --- a/include/draw.h +++ b/include/draw.h @@ -219,7 +219,7 @@ struct RGB * * given char c, Subfont *f, Fontchar *i, and Point p, one says * i = f->info+c; - * draw(b, Rect(p.x+i->left, p.y+i->top, + * void(b, Rect(p.x+i->left, p.y+i->top, * p.x+i->left+((i+1)->x-i->x), p.y+i->bottom), * color, f->bits, Pt(i->x, i->top)); * p.x += i->width; @@ -336,6 +336,7 @@ extern int writeimage(int, Image*, int); extern Image* namedimage(Display*, char*); extern int nameimage(Image*, char*, int); extern Image* allocimagemix(Display*, u32int, u32int); +extern int drawsetlabel(Display*, char*); /* * Colors @@ -529,3 +530,4 @@ void drawtopwindow(void); */ int _drawmsgread(Display*, void*, int); int _drawmsgwrite(Display*, void*, int); +int _latin1(Rune*, int); -- cgit v1.2.3