diff options
| author | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-11 00:42:42 (GMT) |
|---|---|---|
| committer | Philip <philip@philip-linuxlaptop.(none)> | 2010-11-11 00:42:42 (GMT) |
| commit | 179a9f731a251249237d9007038771036ff701df (patch) | |
| tree | 0c0bbce8ed5d8d47c369c28931f4c8230dbd1d06 /includes/graphics.h | |
| parent | 673eb2437e2cc7491b94f95e0f65cd276e351872 (diff) | |
| download | powder-179a9f731a251249237d9007038771036ff701df.zip powder-179a9f731a251249237d9007038771036ff701df.tar.gz | |
Updating with all new changes
Diffstat (limited to 'includes/graphics.h')
| -rw-r--r-- | includes/graphics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/graphics.h b/includes/graphics.h index 6f6b133..e23fe9d 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -93,10 +93,12 @@ int drawtextmax(pixel *vid, int x, int y, int w, char *s, int r, int g, int b, i int textnwidth(char *s, int n); -int textnheight(char *s, int n, int w); +void textnpos(char *s, int n, int w, int *cx, int *cy); int textwidthx(char *s, int w); +int textposxy(char *s, int width, int w, int h); + #if defined(WIN32) && !defined(__GNUC__) _inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a); #else |
