summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-06-01 14:33:48 +0000
committerfrosch <frosch@openttd.org>2013-06-01 14:33:48 +0000
commitce110eed32eef08e7ce1c35a2c5893698afee73a (patch)
tree0faa8ca975a1bf93428e6ac711692b7e79e7ec27 /src/gfx_func.h
parentf292a87dc499fdcf9ffaeaa6f1cd73fc998b31e3 (diff)
downloadopenttd-ce110eed32eef08e7ce1c35a2c5893698afee73a.tar.xz
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 3cb3aa1b3..f5dbcc0bf 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -150,6 +150,7 @@ bool ToggleFullScreen(bool fs);
/* gfx.cpp */
byte GetCharacterWidth(FontSize size, uint32 key);
byte GetDigitWidth(FontSize size = FS_NORMAL);
+uint GetBroadestDigit(FontSize size = FS_NORMAL);
/**
* Get height of a character for a given font size.