From 3ccc87b376a5560e3933263dc0e684ddf1136236 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 16 Sep 2006 13:20:14 +0000 Subject: (svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding box of the string. Therefore rename the function to GetStringBoundingRect() and have it return a BoundingRect type of width/height --- openttd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openttd.h') diff --git a/openttd.h b/openttd.h index 6d53aa7b8..70c4cd446 100644 --- a/openttd.h +++ b/openttd.h @@ -12,6 +12,11 @@ typedef struct Rect { int left,top,right,bottom; } Rect; +typedef struct BoundingRect { + int width; + int height; +} BoundingRect; + typedef struct Point { int x,y; } Point; -- cgit v1.2.3-54-g00ecf