summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-10-23 19:41:20 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-10-23 19:41:20 +0000
commit89b7afbac89eb3aac8871a9853cf12a0d6141dab (patch)
treee059a94a03773edad3542dbbce7901ac2c3d2dd4 /src/gfx_func.h
parentf528d2c59246cb76c5d84dfac04e84e1368ea650 (diff)
downloadopenttd-89b7afbac89eb3aac8871a9853cf12a0d6141dab.tar.xz
(svn r25911) -Add: Support for drawing dashed lines.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 709fc2cc9..69d2e4570 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -118,7 +118,7 @@ int DrawStringMultiLine(int left, int right, int top, int bottom, StringID str,
void DrawCharCentered(uint32 c, int x, int y, TextColour colour);
void GfxFillRect(int left, int top, int right, int bottom, int colour, FillRectMode mode = FILLRECT_OPAQUE);
-void GfxDrawLine(int left, int top, int right, int bottom, int colour, int width = 1);
+void GfxDrawLine(int left, int top, int right, int bottom, int colour, int width = 1, int dash = 0);
void DrawBox(int x, int y, int dx1, int dy1, int dx2, int dy2, int dx3, int dy3);
Dimension GetStringBoundingBox(const char *str, FontSize start_fontsize = FS_NORMAL);