summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-04-02 14:49:06 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-04 15:11:37 (GMT)
commit90f8c4f4835004e683ab5fe06937fa1f1e5ce637 (patch)
treeeae467d0741fd5c5cad3591e69d2f38dc465ee47 /includes
parent45b1b2bc965111b8b9c0b3237f541704fe49c47c (diff)
downloadpowder-90f8c4f4835004e683ab5fe06937fa1f1e5ce637.zip
powder-90f8c4f4835004e683ab5fe06937fa1f1e5ce637.tar.gz
error_ui: wrap text and change message box height to fit
Stops banned user message overflowing out of message box
Diffstat (limited to 'includes')
-rw-r--r--includes/graphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index b7bfdfa..eed3ed6 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -99,6 +99,7 @@ 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);
+int textwrapheight(char *s, int width);
#if defined(WIN32) && !defined(__GNUC__)
_inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);