From a099991354e31b55a0d0903ba5755f13aeb43824 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 4 Apr 2003 16:31:03 +0000 Subject: Backport fixing --- lib/shape.cc | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'lib/shape.cc') diff --git a/lib/shape.cc b/lib/shape.cc index 45280f5..5120a3c 100644 --- a/lib/shape.cc +++ b/lib/shape.cc @@ -473,8 +473,8 @@ void mogltk::shape::obox(int x1, int y1, int x2, int y2, ColorP c) { hline(x1, x2, y1, c); hline(x1, x2, y2, c); - vline(x1, y1, y2, c); - vline(x2, y1, y2, c); + vline(x1, y1 + 1, y2 - 1, c); + vline(x2, y1 + 1, y2 - 1, c); LEAVE; } @@ -597,3 +597,27 @@ void mogltk::shape::Leave(bool locked) { if (locked) SDL_UnlockSurface(mogltk::engine::base_o->getsurface()); } + +void mogltk::shape::tbox(texture *, int x1, int y1, int x2, int y2, int tx, int ty, double f, ColorP c) { +} + +void mogltk::shape::tbox(texture *, int x1, int y1, int x2, int y2, int tx1, int ty1, int tx2, int ty2, ColorP c) { +} + +void mogltk::shape::tbox(texture *, int x1, int y1, int x2, int y2, ColorP, ColorP, ColorP, ColorP, int tx, int ty, double f) { +} + +void mogltk::shape::tbox(texture *, int x1, int y1, int x2, int y2, ColorP, ColorP, ColorP, ColorP, int tx1, int ty1, int tx2, int ty2) { +} + +void mogltk::shape::vline(int x, int y1, int y2, ColorP c1, ColorP c2) { +} + +void mogltk::shape::hline(int x1, int x2, int y, ColorP c1, ColorP c2) { +} + +void mogltk::shape::box(int x1, int y1, int x2, int y2, ColorP c1, ColorP c2, ColorP c3, ColorP c4) { +} + +void mogltk::shape::obox(int x1, int y1, int x2, int y2, ColorP c1, ColorP c2, ColorP c3, ColorP c4) { +} -- cgit v1.2.3