(svn r13787) -Codechange: resize the red error message box if needed

This commit is contained in:
smatz
2008-07-22 19:25:47 +00:00
parent a26e816f77
commit 766e57df5f
3 changed files with 77 additions and 12 deletions

View File

@@ -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);