summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-04-02 16:39:30 +0000
committerfrosch <frosch@openttd.org>2011-04-02 16:39:30 +0000
commitb18211bb9d1f8f758e814a5b5f6dc74e78183c51 (patch)
tree1fa7d4f5b289ca68bb97d0e167b36a80ee9b4eae /src/gfx_func.h
parent7659575cfa52b6fd9eea9c1256b325f84261e29f (diff)
downloadopenttd-b18211bb9d1f8f758e814a5b5f6dc74e78183c51.tar.xz
(svn r22291) -Add: a linewidth argument to GfxDrawLine() and Blitter::DrawLine().
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 9a0c3e63f..afc0a083f 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);
+void GfxDrawLine(int left, int top, int right, int bottom, int colour, int width = 1);
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);