summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-20 16:42:35 +0000
committerrubidium <rubidium@openttd.org>2009-12-20 16:42:35 +0000
commit90b7f0f3cb6e42e62a445e43407e4c543f55306f (patch)
tree57d843ce04871e058c4aeb9653cdb2a007963247 /src/gfx_func.h
parentf2785ae24d369b68f246a162ff7619e61d8a380a (diff)
downloadopenttd-90b7f0f3cb6e42e62a445e43407e4c543f55306f.tar.xz
(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot
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 6fe86ca68..ca583fbc9 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -160,6 +160,7 @@ bool ToggleFullScreen(bool fs);
extern FontSize _cur_fontsize; ///< Currently selected font.
byte GetCharacterWidth(FontSize size, uint32 key);
+byte GetDigitWidth(FontSize size = FS_NORMAL);
/**
* Get height of a character for a given font size.