From 439e15d09f6fa9271d3b49ef97194f0c80ebe161 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Mon, 10 Jul 2006 22:16:48 +0200 Subject: added several other stuff --- draw.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'draw.c') diff --git a/draw.c b/draw.c index cf7f14e..b89c365 100644 --- a/draw.c +++ b/draw.c @@ -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; +} -- cgit v1.2.3