From e318be8501559a9e53aa9990bf7e07b00c00ee51 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 14 Apr 2003 15:51:42 +0000 Subject: Shapes fixed --- src/test.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/test.cc b/src/test.cc index 53c72e9..1bae7b8 100644 --- a/src/test.cc +++ b/src/test.cc @@ -28,7 +28,7 @@ virtual int startup() throw (GeneralException) { new Archive("datas.paq"); -#if 0 +#if 1 mogltk::base * gl = new mogltk::glbase(); mogltk::shape * sh = new mogltk::glshape(); mogltk::font * font = new mogltk::glfont(&Input("font-2.bin")); @@ -77,10 +77,8 @@ virtual int startup() throw (GeneralException) { sh->box3d(180, 130, 320, 220); sh->button(200, 150, 300, 200, "Bouton"); -// for (int j = 0; j < 100; j++) { - sh->fdraw(f); -// } -// sh->arc(320, 240, 50, 0, 0); + sh->fdraw(f, BLUE); + sh->sdraw(f); sh->box(MIN(sx1, sx2), MIN(sy1, sy2), MAX(sx1, sx2), MAX(sy1, sy2), AlphaBlue); mogltk::ColorP::Min.A = 200; -- cgit v1.2.3