diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-13 15:45:50 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-13 15:45:50 +0000 |
| commit | ab5771b62fbff2510ff495ba6dd2fcd8d1720593 (patch) | |
| tree | 053c436d4a29715f964a5955c9da1e51aad0f693 /test | |
| parent | a64292cc5f56e165b471f5bb23acea765d838c7e (diff) | |
Fixes from Bill:
- Fl_Clock now uses the Fl_Clock_Output base class to get the
system time.
- Fl_Window::iconize() and Fl_Window::icon() now coexist
peacefully with all X window managers.
- Minor fixes to mandelbrot and shape demos.
- Menu code cleanup.
git-svn-id: file:///fltk/svn/fltk/trunk@209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 $". // |
