Factor out function to get value with broadest digits

This commit is contained in:
Jonathan G Rennison
2023-06-01 20:34:48 +01:00
parent 18a79a35d0
commit a10c5a62c9
3 changed files with 20 additions and 8 deletions

View File

@@ -220,6 +220,7 @@ bool ToggleFullScreen(bool fs);
byte GetCharacterWidth(FontSize size, WChar key);
byte GetDigitWidth(FontSize size = FS_NORMAL);
void GetBroadestDigit(uint *front, uint *next, FontSize size = FS_NORMAL);
uint64 GetBroadestDigitsValue(uint count, FontSize size = FS_NORMAL);
extern int font_height_cache[FS_END];