aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h9
1 files changed, 4 insertions, 5 deletions
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;