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
This commit is contained in:
Michael R Sweet
1999-01-13 15:45:50 +00:00
parent a64292cc5f
commit ab5771b62f
9 changed files with 90 additions and 78 deletions
+3 -3
View File
@@ -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 $".
//
+2 -5
View File
@@ -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 $".
//