From 862a1793f0990088013563e197c67fe962ed8006 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 15 Dec 2009 03:26:22 +0000 Subject: rid ourselves of these functional macros; convert to real functions. ok oga@ --- calmwm.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index 4aa298b..7052c78 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.111 2009/12/15 03:24:36 okan Exp $ + * $Id: calmwm.h,v 1.112 2009/12/15 03:26:22 okan Exp $ */ #ifndef _CALMWM_H_ @@ -516,16 +516,15 @@ void group_sticky_toggle_exit(struct client_ctx *); void group_autogroup(struct client_ctx *); void group_movetogroup(struct client_ctx *, int); +int font_ascent(struct screen_ctx *); +int font_descent(struct screen_ctx *); +u_int font_height(struct screen_ctx *); void font_init(struct screen_ctx *); int font_width(struct screen_ctx *, const char *, int); void font_draw(struct screen_ctx *, const char *, int, Drawable, int, int); XftFont *font_make(struct screen_ctx *, const char *); -#define font_ascent(sc) sc->font->ascent -#define font_descent(sc) sc->font->descent -#define font_height(sc) sc->fontheight - /* Externs */ extern Display *X_Dpy; -- cgit v1.2.3-2-gb3c3