Changeset - r20440:620553da2898
[Not reviewed]
master
0 2 0
rubidium - 11 years ago 2013-06-24 20:52:28
rubidium@openttd.org
(svn r25455) -Cleanup: make local function really local
2 files changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -653,7 +653,7 @@ int DrawString(int left, int right, int 
 
 *  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;
 

	
src/gfx_func.h
Show inline comments
 
@@ -121,7 +121,6 @@ void DrawBox(int x, int y, int dx1, int 
 

	
 
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);
0 comments (0 inline, 0 general)