diff options
| author | Derek Foreman <manmower@gmail.com> | 2003-03-26 02:19:38 +0000 |
|---|---|---|
| committer | Derek Foreman <manmower@gmail.com> | 2003-03-26 02:19:38 +0000 |
| commit | 2880e674eaa66b2d5639157e4506b404e2b183ad (patch) | |
| tree | c806d3ac1c7eeed6fc1687e28021f93613fcf4c1 /render/font.h | |
| parent | 4840f7e837d5f74f8c20d600c90936e954afa8a0 (diff) | |
add a Rect to the textures for positioning them
Diffstat (limited to 'render/font.h')
| -rw-r--r-- | render/font.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <X11/Xft/Xft.h> #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 */ |
