diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-08-05 09:43:12 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-08-05 09:43:12 +0000 |
| commit | e7af621409b2a07d4ff664d013a3d263072858dc (patch) | |
| tree | 50c53a2b71b40e864892cbbfbaa48e0a9f0c15e9 | |
| parent | 87b1ff244d2c9129e6c20ba3c1e9f44097e20baf (diff) | |
Fix whitespace and comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -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 |
