diff options
author | smatz <smatz@openttd.org> | 2008-07-22 19:25:47 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-07-22 19:25:47 +0000 |
commit | 06a52be95c3295db2efb3b68afa657d28e05e44e (patch) | |
tree | f84807b589da7d0a3d7594ed644a6a5e46a104eb /src/gfx_func.h | |
parent | e3d5000424842d167594c98b640c46f36f1caeb4 (diff) | |
download | openttd-06a52be95c3295db2efb3b68afa657d28e05e44e.tar.xz |
(svn r13787) -Codechange: resize the red error message box if needed
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index 371645c5f..51986a71f 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -105,6 +105,7 @@ void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3) Dimension GetStringBoundingBox(const char *str); uint32 FormatStringLinebreaks(char *str, int maxw); +int GetStringHeight(StringID str, int maxw); void LoadStringWidthTable(); void DrawStringMultiCenter(int x, int y, StringID str, int maxw); uint DrawStringMultiLine(int x, int y, StringID str, int maxw, int maxh = -1); |