diff options
Diffstat (limited to 'examples/progress-simple.cxx')
| -rw-r--r-- | examples/progress-simple.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/progress-simple.cxx b/examples/progress-simple.cxx index e2a02fd7e..9f72c4ca6 100644 --- a/examples/progress-simple.cxx +++ b/examples/progress-simple.cxx @@ -1,16 +1,10 @@ -#include <stdio.h> -#include <FL/Fl.H> -#include <FL/Fl_Window.H> -#include <FL/Fl_Button.H> -#include <FL/Fl_Progress.H> - // // "$Id$" // // Demonstrate using the Fl_Progress widget in an application - erco 05/02/2005 // // Copyright 2005,2012 Greg Ercolano. -// Copyright 1998-2012 by Bill Spitzak and others. +// Copyright 1998-2017 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -23,6 +17,12 @@ // http://www.fltk.org/str.php // +#include <stdio.h> +#include <FL/Fl.H> +#include <FL/Fl_Window.H> +#include <FL/Fl_Button.H> +#include <FL/Fl_Progress.H> + #ifdef WIN32 // WINDOWS #include <windows.h> @@ -36,7 +36,7 @@ void butt_cb(Fl_Widget *butt, void *data) { // Deactivate the button - butt->deactivate(); // prevent button from being pressed again + butt->deactivate(); // prevent button from being pressed again Fl::check(); // give fltk some cpu to gray out button // Make the progress bar Fl_Window *w = (Fl_Window*)data; // access parent window |
