summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2013-05-02 17:25:15 +0000
committerokan <okan>2013-05-02 17:25:15 +0000
commit5acf6c147f88233c477e6f87ca94c45d8475ac73 (patch)
treebfa4adc3e3a48f6adb5f7deef2e70ea4f94e546c /calmwm.h
parent5ab3b373d39c333de5774a9503c450fc9fccd814 (diff)
downloadcwm-5acf6c147f88233c477e6f87ca94c45d8475ac73.tar.gz
cwm-5acf6c147f88233c477e6f87ca94c45d8475ac73.tar.xz
cwm-5acf6c147f88233c477e6f87ca94c45d8475ac73.zip
no need for font_{ascent,descent,height} wrappers; limit font_width to
just requiring xftfont.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/calmwm.h b/calmwm.h
index b0a7c12..cb10f19 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -450,14 +450,11 @@ void			 conf_ignore(struct conf *, char *);
 void			 conf_mousebind(struct conf *, char *, char *);
 void			 conf_ungrab(struct conf *, struct keybinding *);
 
-int			 font_ascent(struct screen_ctx *);
-int			 font_descent(struct screen_ctx *);
 void			 font_draw(struct screen_ctx *, const char *, int,
 			     Drawable, int, int, int);
-u_int			 font_height(struct screen_ctx *);
 void			 font_init(struct screen_ctx *, const char *,
 			     const char **);
-int			 font_width(struct screen_ctx *, const char *, int);
+int			 font_width(XftFont *, const char *, int);
 
 void			 xev_loop(void);