(svn r15803) -Codechange: use the new text drawing API for multicenter

-Fix (r15800): off-by-one w.r.t. offsets
This commit is contained in:
rubidium
2009-03-22 09:34:06 +00:00
parent fc24b775bb
commit 31a5457c03
9 changed files with 40 additions and 69 deletions

View File

@@ -108,7 +108,6 @@ 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);
/**
* Let the dirty blocks repainting by the video driver.