(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 4a1f9286dd
commit 68248cad4f
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();