diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/mandelbrot.cxx | 6 | ||||
| -rw-r--r-- | test/shape.cxx | 7 |
2 files changed, 5 insertions, 8 deletions
diff --git a/test/mandelbrot.cxx b/test/mandelbrot.cxx index e089fe23c..2ff27515b 100644 --- a/test/mandelbrot.cxx +++ b/test/mandelbrot.cxx @@ -1,5 +1,5 @@ // -// "$Id: mandelbrot.cxx,v 1.7 1999/01/07 19:17:57 mike Exp $" +// "$Id: mandelbrot.cxx,v 1.8 1999/01/13 15:45:50 mike Exp $" // // Mandelbrot set demo for the Fast Light Tool Kit (FLTK). // @@ -69,7 +69,7 @@ void Drawing_Area::draw() { } int Drawing_Area::idle() { - if (!window()->shown() || !window()->visible()) return 0; + if (!window()->visible()) return 0; if (drawn < nextline) { window()->make_current(); int yy = drawn+y()+4; @@ -197,5 +197,5 @@ void Drawing_Area::resize(int X,int Y,int W,int H) { } // -// End of "$Id: mandelbrot.cxx,v 1.7 1999/01/07 19:17:57 mike Exp $". +// End of "$Id: mandelbrot.cxx,v 1.8 1999/01/13 15:45:50 mike Exp $". // diff --git a/test/shape.cxx b/test/shape.cxx index 2797b82f9..8335a2c17 100644 --- a/test/shape.cxx +++ b/test/shape.cxx @@ -1,5 +1,5 @@ // -// "$Id: shape.cxx,v 1.4 1999/01/07 19:18:00 mike Exp $" +// "$Id: shape.cxx,v 1.5 1999/01/13 15:45:50 mike Exp $" // // Tiny OpenGL demo program for the Fast Light Tool Kit (FLTK). // @@ -106,13 +106,10 @@ int main(int argc, char **argv) { window.end(); window.show(argc,argv); -// in the X version you must show() all Fl_Window's in top/down order -// other systems may not require this, but it will be harmless: - //sw.show(); return Fl::run(); } // -// End of "$Id: shape.cxx,v 1.4 1999/01/07 19:18:00 mike Exp $". +// End of "$Id: shape.cxx,v 1.5 1999/01/13 15:45:50 mike Exp $". // |
