aboutsummaryrefslogtreecommitdiff
path: root/include/draw.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 18:15:43 +0000
committerrsc <devnull@localhost>2003-11-23 18:15:43 +0000
commit16a709666981e77a00a88a87b286b586ac77ffdc (patch)
tree7320f931d0cdfcb86fe07dba025b489e66ed5648 /include/draw.h
parent986b36bccd134726eea42f2cfabff2943d729ac4 (diff)
downloadplan9port-16a709666981e77a00a88a87b286b586ac77ffdc.tar.gz
plan9port-16a709666981e77a00a88a87b286b586ac77ffdc.tar.bz2
plan9port-16a709666981e77a00a88a87b286b586ac77ffdc.zip
Add drawsetlabel(Display*, char*).
Turn window destruction into "hangup" note. Fix (?) snarf buffer management. Add latin1 keyboard translation.
Diffstat (limited to 'include/draw.h')
-rw-r--r--include/draw.h4
1 files changed, 3 insertions, 1 deletions
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);