aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/menu.cpp')
-rw-r--r--engines/touche/menu.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/touche/menu.cpp b/engines/touche/menu.cpp
index 1c3dfe87ee..2dacab4132 100644
--- a/engines/touche/menu.cpp
+++ b/engines/touche/menu.cpp
@@ -28,8 +28,6 @@
#include "common/system.h"
#include "common/savefile.h"
-#include "graphics/primitives.h"
-
#include "touche/graphics.h"
#include "touche/midi.h"
#include "touche/touche.h"
@@ -136,17 +134,12 @@ static void drawArrow(uint8 *dst, int dstPitch, int x, int y, int delta, uint8 c
{ -9, 0, 0, -9 },
{ 0, -9, 9, 0 }
};
- drawProcP lineP;
-
- lineP.dst = dst;
- lineP.width = dstPitch;
-
for (uint i = 0; i < 7; ++i) {
const int x1 = x + arrowCoordsTable[i][0];
const int y1 = y + arrowCoordsTable[i][1] * delta;
const int x2 = x + arrowCoordsTable[i][2];
const int y2 = y + arrowCoordsTable[i][3] * delta;
- ::Graphics::drawLine(x1, y1, x2, y2, color, Graphics::drawProc, &lineP);
+ Graphics::drawLine(dst, dstPitch, x1, y1, x2, y2, color);
}
}