diff options
author | Darkvater <Darkvater@openttd.org> | 2006-09-16 13:20:14 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-09-16 13:20:14 +0000 |
commit | 552570f9e6ed3982c1b8d5bd819eb06eb4c5df53 (patch) | |
tree | cfe40a58aa6ed11051036a76e69dd295f0b05d31 /openttd.h | |
parent | dca7aa29f6597474f266a67968ea0090e9e1ac74 (diff) | |
download | openttd-552570f9e6ed3982c1b8d5bd819eb06eb4c5df53.tar.xz |
(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
Diffstat (limited to 'openttd.h')
-rw-r--r-- | openttd.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |