summaryrefslogtreecommitdiff
path: root/includes/graphics.h
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-10-21 22:49:45 (GMT)
committer Simon <simon@hardwired.org.uk>2010-10-21 22:59:56 (GMT)
commitf88bb0f246c7c7130b44d8b4b1b63012fadef94e (patch)
treebb0eaface9db804cdaa31f366e5de497e4402807 /includes/graphics.h
parentfdd3d240316086fdfd37840a828dc2111f5c70e2 (diff)
downloadpowder-f88bb0f246c7c7130b44d8b4b1b63012fadef94e.zip
powder-f88bb0f246c7c7130b44d8b4b1b63012fadef94e.tar.gz
Changes for open_ui
Diffstat (limited to 'includes/graphics.h')
-rw-r--r--includes/graphics.h4
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);