diff options
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 260c69b..ec0d597 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -93,12 +93,14 @@ 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); + int textwidthx(char *s, int w); #ifdef WIN32 _inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a); #else -inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a); +void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a); #endif void draw_icon(pixel *vid_buf, int x, int y, char ch, int flag); |
