From f09e17c3c564e8310125a10c03397cbf473ff643 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 1 Jul 2020 18:03:10 +0200 Subject: Remove $Id$ tags, update URL's, and more - remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers. --- test/cube.cxx | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'test/cube.cxx') diff --git a/test/cube.cxx b/test/cube.cxx index 63b6fdb8d..7add96490 100644 --- a/test/cube.cxx +++ b/test/cube.cxx @@ -1,6 +1,4 @@ // -// "$Id$" -// // OpenGL test program for the Fast Light Tool Kit (FLTK). // // Modified to have 2 cubes to test multiple OpenGL contexts @@ -11,11 +9,11 @@ // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // -// http://www.fltk.org/COPYING.php +// https://www.fltk.org/COPYING.php // -// Please report all bugs and problems on the following page: +// Please see the following page on how to report bugs and issues: // -// http://www.fltk.org/str.php +// https://www.fltk.org/bugs.php // #include @@ -165,7 +163,7 @@ void makeform(const char *name) { cube2 = new cube_box(513,23,344,344, 0); Fl_Box *b = new Fl_Box(FL_NO_BOX,cube->x(),size->y(), - cube->w(),size->h(),0); + cube->w(),size->h(),0); form->resizable(b); b->hide(); form->end(); @@ -194,7 +192,7 @@ int main(int argc, char **argv) { makeform(argv[0]); // added to demo printing form->begin(); - static Fl_Menu_Item items[] = { + static Fl_Menu_Item items[] = { { "Print", 0, 0, 0, FL_SUBMENU }, { "Print window", 0, print_cb, 0, 0 }, { 0 }, @@ -231,9 +229,9 @@ int main(int argc, char **argv) { #endif for (;;) { if (form->visible() && speed->value()) - {if (!Fl::check()) break;} // returns immediately + {if (!Fl::check()) break;} // returns immediately else - {if (!Fl::wait()) break;} // waits until something happens + {if (!Fl::wait()) break;} // waits until something happens cube->wire = wire->value(); cube2->wire = !wire->value(); cube->size = cube2->size = size->value(); @@ -244,7 +242,3 @@ int main(int argc, char **argv) { } return 0; } - -// -// End of "$Id$". -// -- cgit v1.2.3