summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-20 10:50:23 +0000
committerrubidium <rubidium@openttd.org>2006-08-20 10:50:23 +0000
commit0c3093b25f3d53651b63fc6b86bf9285a26ed8c1 (patch)
tree0318097a982d451f4e952e486ef2f399c5b7e4bc /gfx.h
parent5890ea5a716bf74f6925adc3485c3c0e2e27b6ab (diff)
downloadopenttd-0c3093b25f3d53651b63fc6b86bf9285a26ed8c1.tar.xz
(svn r5967) -Change: use right alignment for the year in the player's balance window instead of centering (about) 'string width' / 2 from the right edge
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx.h b/gfx.h
index 793905186..cecec1d02 100644
--- a/gfx.h
+++ b/gfx.h
@@ -67,8 +67,9 @@ int DoDrawStringTruncated(const char *str, int x, int y, uint16 color, uint maxw
void DrawStringCenterUnderline(int x, int y, StringID str, uint16 color);
void DrawStringCenterUnderlineTruncated(int xl, int xr, int y, StringID str, uint16 color);
-void DrawStringRightAligned(int x, int y, StringID str, uint16 color);
+int DrawStringRightAligned(int x, int y, StringID str, uint16 color);
void DrawStringRightAlignedTruncated(int x, int y, StringID str, uint16 color, uint maxw);
+void DrawStringRightAlignedUnderline(int x, int y, StringID str, uint16 color);
void GfxFillRect(int left, int top, int right, int bottom, int color);
void GfxDrawLine(int left, int top, int right, int bottom, int color);