summaryrefslogtreecommitdiff
path: root/src/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cc')
-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;