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. --- src/forms_free.cxx | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) (limited to 'src/forms_free.cxx') diff --git a/src/forms_free.cxx b/src/forms_free.cxx index e4db72e50..c30c2730c 100644 --- a/src/forms_free.cxx +++ b/src/forms_free.cxx @@ -1,6 +1,4 @@ // -// "$Id$" -// // Forms free widget routines for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2010 by Bill Spitzak and others. @@ -9,11 +7,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 // // Emulation of the Forms "free" widget. @@ -44,9 +42,9 @@ void Fl_Free::step(void *v) { \code int handle_function(Fl_Widget *w, int event, - float event_x, - float event_y, - char key) + float event_x, + float event_y, + char key) \endcode This function is called from the handle() method in response to most events, and is called by the draw() method. @@ -54,16 +52,16 @@ void Fl_Free::step(void *v) { The event argument contains the event type: \code // old event names for compatibility: - #define FL_MOUSE FL_DRAG - #define FL_DRAW 0 - #define FL_STEP 9 - #define FL_FREEMEM 12 - #define FL_FREEZE FL_UNMAP - #define FL_THAW FL_MAP + #define FL_MOUSE FL_DRAG + #define FL_DRAW 0 + #define FL_STEP 9 + #define FL_FREEMEM 12 + #define FL_FREEZE FL_UNMAP + #define FL_THAW FL_MAP \endcode */ Fl_Free::Fl_Free(uchar t,int X, int Y, int W, int H,const char *L, - FL_HANDLEPTR hdl) : + FL_HANDLEPTR hdl) : Fl_Widget(X,Y,W,H,L) { type(t); hfunc = hdl; @@ -99,7 +97,3 @@ int Fl_Free::handle(int e) { if (hfunc(this, e, float(Fl::event_x()), float(Fl::event_y()), key)) do_callback(); return 1; } - -// -// End of "$Id$". -// -- cgit v1.2.3