From c3a217d7d7acf0d160ff03c5b54047a45b64dcad Mon Sep 17 00:00:00 2001 From: Martin Herweg Date: Thu, 19 Feb 2009 00:54:57 +0000 Subject: [PATCH] nix --- animations/programm.c | 114 +++++++++++++++++++++------------------ animations/programm.h | 4 ++ display_loop.c | 2 +- pixel.c | 4 +- scrolltext/scrolltext3.c | 6 +-- 5 files changed, 72 insertions(+), 58 deletions(-) diff --git a/animations/programm.c b/animations/programm.c index f38a6f2..666937a 100644 --- a/animations/programm.c +++ b/animations/programm.c @@ -96,8 +96,10 @@ void test_palette2(){ void test_lines(){ -unsigned char n, delay=80; +unsigned char n,x, delay=250; + +// checkbox line((pixel){0,0}, (pixel){7,0} ,3); wait(delay); line((pixel){7,0}, (pixel){7,7} ,3); @@ -107,31 +109,40 @@ line((pixel){7,7}, (pixel){0,7} ,3); line((pixel){0,7}, (pixel){0,0} ,3); wait(delay); + // diagonal line((pixel){7,7}, (pixel){0,0} ,3); wait(delay); line((pixel){0,7}, (pixel){7,0} ,3); wait(delay); +wait(delay); +wait(delay); + for (x=0;x0;x--){ + if (value