summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-03-26 10:08:17 +0000
committerrubidium <rubidium@openttd.org>2008-03-26 10:08:17 +0000
commita606fe961020486a5810ff29bc0255a8c83b310c (patch)
tree6f0a8507b3787ee4fc264a975c90db6c455c39a1 /src/gfx_func.h
parentb05919cc5a07ef01e18db2a22f339fb8a5665526 (diff)
downloadopenttd-a606fe961020486a5810ff29bc0255a8c83b310c.tar.xz
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index e97d33e8e..2ca83087e 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -99,6 +99,8 @@ int DrawStringRightAligned(int x, int y, StringID str, uint16 color);
void DrawStringRightAlignedTruncated(int x, int y, StringID str, uint16 color, uint maxw);
void DrawStringRightAlignedUnderline(int x, int y, StringID str, uint16 color);
+void DrawCharCentered(uint32 c, int x, int y, 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 DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3);