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/subwindow.cxx | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'test/subwindow.cxx') diff --git a/test/subwindow.cxx b/test/subwindow.cxx index 998813864..73a954824 100644 --- a/test/subwindow.cxx +++ b/test/subwindow.cxx @@ -1,6 +1,4 @@ // -// "$Id$" -// // Nested window test program for the Fast Light Tool Kit (FLTK). // // Test to make sure nested windows work. @@ -14,11 +12,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 @@ -85,9 +83,9 @@ int testwindow::handle(int e) { if (e != FL_MOVE) printf("%s : %s\n",label(),fl_eventnames[e]); #endif if (crsr!=FL_CURSOR_DEFAULT) { - if (e == FL_ENTER) + if (e == FL_ENTER) cursor(crsr); - if (e == FL_LEAVE) + if (e == FL_LEAVE) cursor(FL_CURSOR_DEFAULT); } if (Fl_Window::handle(e)) return 1; @@ -164,12 +162,12 @@ int main(int argc, char **argv) { subwindow->end(); subwindow->use_cursor(FL_CURSOR_HAND); (new Fl_Box(FL_NO_BOX,0,0,400,100, - "A child Fl_Window with children of its own may " - "be useful for imbedding controls into a GL or display " - "that needs a different visual. There are bugs with the " - "origins being different between drawing and events, " - "which I hope I have solved." - )) -> align(FL_ALIGN_WRAP); + "A child Fl_Window with children of its own may " + "be useful for imbedding controls into a GL or display " + "that needs a different visual. There are bugs with the " + "origins being different between drawing and events, " + "which I hope I have solved." + )) -> align(FL_ALIGN_WRAP); popup = new Fl_Menu_Button(0,0,400,400); popup->type(Fl_Menu_Button::POPUP3); popup->add("This|is|a popup|menu"); @@ -177,7 +175,3 @@ int main(int argc, char **argv) { window->show(argc, argv); return Fl::run(); } - -// -// End of "$Id$". -// -- cgit v1.2.3