summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpixel <pixel>2003-04-14 15:51:42 +0000
committerpixel <pixel>2003-04-14 15:51:42 +0000
commite318be8501559a9e53aa9990bf7e07b00c00ee51 (patch)
treee2df61a572721612437ce6fa81cabc06408a4ed8 /src
parentebc6bb16f895b7c192b9f4c42d1fc4feb41e271c (diff)
Shapes fixed
Diffstat (limited to 'src')
-rw-r--r--src/test.cc8
1 files changed, 3 insertions, 5 deletions
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;