From 9fba9405ce05b35d579a08a0db0ca48040e1fe45 Mon Sep 17 00:00:00 2001 From: Christian Kroll Date: Tue, 21 Dec 2010 14:14:35 +0000 Subject: [PATCH] line(...) and filled_rectangle(...) are only used by M. Herwegs animations -> conditional compilation --- pixel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pixel.c b/pixel.c index badf92b..658da0b 100644 --- a/pixel.c +++ b/pixel.c @@ -34,6 +34,8 @@ void setpixel(pixel p, unsigned char value ){ } +#ifdef ANIMATION_MHERWEG + void line(pixel p1, pixel p2 ,unsigned char value){ char dx, dy, stepx, stepy, fraction; @@ -109,6 +111,7 @@ for (y=p1.y;y<(p1.y+h);y++){ } +#endif /* ANIMATION_HERWEG */ //shifts pixmap left. It is really shifted right, but because col0 is left in the Display it's left. void shift_pixmap_l(){