From 2880e674eaa66b2d5639157e4506b404e2b183ad Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 26 Mar 2003 02:19:38 +0000 Subject: add a Rect to the textures for positioning them --- render/font.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/font.h') diff --git a/render/font.h b/render/font.h index b5806a4a..eaa89d56 100644 --- a/render/font.h +++ b/render/font.h @@ -2,6 +2,7 @@ #define __font_h #include #include "render.h" +#include "../kernel/geom.h" void font_startup(void); ObFont *font_open(char *fontstring); @@ -9,5 +10,5 @@ void font_close(ObFont *f); int font_measure_string(ObFont *f, 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, int x, int y, int w, int h); +void font_draw(XftDraw *d, TextureText *t, Rect *position); #endif /* __font_h */ -- cgit v1.2.3