(svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if it's too long.

This commit is contained in:
maedhros
2007-03-25 16:09:36 +00:00
parent f56fbbfed9
commit 1a70cf53ff
3 changed files with 22 additions and 15 deletions

View File

@@ -231,7 +231,7 @@ BoundingRect GetStringBoundingBox(const char *str);
uint32 FormatStringLinebreaks(char *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);
uint DrawStringMultiLine(int x, int y, StringID str, int maxw, int maxh = -1);
void DrawDirtyBlocks();
void SetDirtyBlocks(int left, int top, int right, int bottom);
void MarkWholeScreenDirty();