draw window frame
[windtk] / example.c
index 8e7c8e7..4ff5bdc 100644 (file)
--- a/example.c
+++ b/example.c
@@ -36,10 +36,12 @@ int main(int argc, char **argv)
        glutMotionFunc(motion);
        glutPassiveMotionFunc(motion);
 
+       glClearColor(0.6, 0.6, 0.6, 1);
+
        if(wt_init(800, 600, &gfx)) {
                return 1;
        }
-       wt_window(0, "foo", WT_WS_DEFAULT, 10, 10, 200, 200);
+       wt_window(0, "foo", WT_WS_DEFAULT, 100, 100, 200, 200);
 
        glutMainLoop();
        return 0;