draw.c
changeset 5 e5018cae273f
parent 3 e969f3575b7a
child 7 49e2fc9fb94f
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 }