diff options
author | tron <tron@openttd.org> | 2005-02-06 18:30:45 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-06 18:30:45 +0000 |
commit | 2fb453a4a59be2fe29492704a1e45ea93cd7307e (patch) | |
tree | bd9ddff4e0a96d3d0b9feb95bcb7667184e63060 /gfx.h | |
parent | eb28e8b32215aae0eef25a9ccada832955b34191 (diff) | |
download | openttd-2fb453a4a59be2fe29492704a1e45ea93cd7307e.tar.xz |
(svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,14 +45,14 @@ void GfxScroll(int left, int top, int width, int height, int xo, int yo); int DrawStringCentered(int x, int y, uint16 str, uint16 color); int DrawString(int x, int y, uint16 str, uint16 color); void DrawStringCenterUnderline(int x, int y, uint16 str, uint16 color); -int DoDrawString(const byte *string, int x, int y, uint16 color); +int DoDrawString(const char *string, int x, int y, uint16 color); void DrawStringRightAligned(int x, int y, uint16 str, uint16 color); void GfxFillRect(int left, int top, int right, int bottom, int color); void GfxDrawLine(int left, int top, int right, int bottom, int color); void DrawFrameRect(int left, int top, int right, int bottom, int color, int flags); uint16 GetDrawStringPlayerColor(byte player); -int GetStringWidth(const byte *str); +int GetStringWidth(const char *str); void LoadStringWidthTable(void); void DrawStringMultiCenter(int x, int y, uint16 str, int maxw); void DrawStringMultiLine(int x, int y, uint16 str, int maxw); |