mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-10 08:17:05 +00:00
(svn r25455) -Cleanup: make local function really local
This commit is contained in:
parent
7c0f34130c
commit
be2b87c1cd
@ -653,7 +653,7 @@ int DrawString(int left, int right, int top, StringID str, TextColour colour, St
|
||||
* 0 - 15 the number of lines ADDED to the string
|
||||
* 16 - 31 the fontsize in which the length calculation was done at
|
||||
*/
|
||||
uint32 FormatStringLinebreaks(char *str, const char *last, int maxw, FontSize size)
|
||||
static uint32 FormatStringLinebreaks(char *str, const char *last, int maxw, FontSize size = FS_NORMAL)
|
||||
{
|
||||
int num = 0;
|
||||
|
||||
|
@ -121,7 +121,6 @@ void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3)
|
||||
|
||||
Dimension GetStringBoundingBox(const char *str, FontSize start_fontsize = FS_NORMAL);
|
||||
Dimension GetStringBoundingBox(StringID strid);
|
||||
uint32 FormatStringLinebreaks(char *str, const char *last, int maxw, FontSize start_fontsize = FS_NORMAL);
|
||||
int GetStringHeight(StringID str, int maxw);
|
||||
int GetStringLineCount(StringID str, int maxw);
|
||||
Dimension GetStringMultiLineBoundingBox(StringID str, const Dimension &suggestion);
|
||||
|
Loading…
Reference in New Issue
Block a user