diff options
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; +} |