Mercurial > dwm-meillo
comparison draw.c @ 5:e5018cae273f
added several other stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Mon, 10 Jul 2006 22:16:48 +0200 |
parents | e969f3575b7a |
children | 49e2fc9fb94f |
comparison
equal
deleted
inserted
replaced
4:991bd8b0771e | 5:e5018cae273f |
---|---|
160 font->ascent = font->xfont->ascent; | 160 font->ascent = font->xfont->ascent; |
161 font->descent = font->xfont->descent; | 161 font->descent = font->xfont->descent; |
162 } | 162 } |
163 font->height = font->ascent + font->descent; | 163 font->height = font->ascent + font->descent; |
164 } | 164 } |
165 | |
166 unsigned int | |
167 labelheight(Fnt *font) | |
168 { | |
169 return font->height + 4; | |
170 } |