diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-17 07:30:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-17 07:30:30 +0000 |
| commit | 0c2f95674f56e25e2b74cce506d9d89ec41252a4 (patch) | |
| tree | ba4ce4035b1e6233c6db85434d695d2e3ef86709 /render/font.h | |
| parent | 6abd9fe80192a2a19b563f20302412520e13b57d (diff) | |
pass the x,y,w,h to font_draw.
draw the text in the "right" place for now.. no justification yet
Diffstat (limited to 'render/font.h')
| -rw-r--r-- | render/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
