added several other stuff

This commit is contained in:
Anselm R. Garbe 2006-07-10 22:16:48 +02:00
parent 2de59d0f09
commit 439e15d09f
12 changed files with 476 additions and 39 deletions

6
draw.c
View file

@ -162,3 +162,9 @@ loadfont(Display *dpy, Fnt *font, const char *fontstr)
}
font->height = font->ascent + font->descent;
}
unsigned int
labelheight(Fnt *font)
{
return font->height + 4;
}