From 0c2f95674f56e25e2b74cce506d9d89ec41252a4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 17 Mar 2003 07:30:30 +0000 Subject: pass the x,y,w,h to font_draw. draw the text in the "right" place for now.. no justification yet --- render/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/font.h') diff --git a/render/font.h b/render/font.h index 28a5c5ed..9cb4f2c9 100644 --- a/render/font.h +++ b/render/font.h @@ -9,5 +9,5 @@ void font_close(ObFont *f); int font_measure_string(ObFont *f, const char *str, int shadow, int offset); int font_height(ObFont *f, int shadow, int offset); int font_max_char_width(ObFont *f); -void font_draw(XftDraw *d, TextureText *t); +void font_draw(XftDraw *d, TextureText *t, int x, int y, int w, int h); #endif /* __font_h */ -- cgit v1.2.3