Separate font stuff to font.c, beautify Makefile

This commit is contained in:
Michael Stapelberg
2009-02-08 11:25:32 +01:00
parent aaa697494c
commit 979311deca
9 changed files with 110 additions and 194 deletions

6
data.h
View File

@ -37,8 +37,14 @@ struct Cell {
*
*/
struct Font {
/* The name of the font, that is what the pattern resolves to */
char *name;
/* A copy of the pattern to build a cache */
char *pattern;
/* The height of the font, built from font_ascent + font_descent */
int height;
/* The xcb-id for the font */
xcb_font_t id;
};
/*