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. --- FL/Fl_Browser.H | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) (limited to 'FL/Fl_Browser.H') diff --git a/FL/Fl_Browser.H b/FL/Fl_Browser.H index 323076362..707b3acc1 100644 --- a/FL/Fl_Browser.H +++ b/FL/Fl_Browser.H @@ -1,6 +1,4 @@ // -// "$Id$" -// // Browser header file for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2016 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 // /* \file @@ -36,7 +34,7 @@ struct FL_BLINE; lines, and manages all the storage for the text. This is not a text editor or spreadsheet! But it is useful for showing a vertical list of named objects to the user. - + \image html fl_hold_browser.png "Fl_Hold_Browser" \image latex fl_hold_browser.png "Fl_Hold_Browser" width=4cm @@ -57,9 +55,9 @@ struct FL_BLINE; describes. The base class does nothing when the user clicks on it. The - subclasses - Fl_Select_Browser, - Fl_Hold_Browser, and + subclasses + Fl_Select_Browser, + Fl_Hold_Browser, and Fl_Multi_Browser react to user clicks to select lines in the browser and do callbacks. @@ -76,7 +74,7 @@ struct FL_BLINE; \code // How to loop through all the items in the browser for ( int t=1; t<=browser->size(); t++ ) { // index 1 based..! - printf("item #%d, label='%s'\n", t, browser->text(t)); + printf("item #%d, label='%s'\n", t, browser->text(t)); } \endcode @@ -87,15 +85,15 @@ struct FL_BLINE; */ class FL_EXPORT Fl_Browser : public Fl_Browser_ { - FL_BLINE *first; // the array of lines + FL_BLINE *first; // the array of lines FL_BLINE *last; FL_BLINE *cache; - int cacheline; // line number of cache - int lines; // Number of lines + int cacheline; // line number of cache + int lines; // Number of lines int full_height_; const int* column_widths_; - char format_char_; // alternative to @-sign - char column_char_; // alternative to tab + char format_char_; // alternative to @-sign + char column_char_; // alternative to tab protected: @@ -218,7 +216,7 @@ public: Gets the current format code prefix character, which by default is '\@'. A string of formatting codes at the start of each column are stripped off and used to modify how the rest of the line is printed: - + \li '\@.' Print rest of line, don't look for more '\@' signs \li '\@\@' Doubling the format character prints the format character once, followed by the rest of line @@ -241,7 +239,7 @@ public: \li '\@-' draw an engraved line through the middle. Notice that the '\@.' command can be used to reliably - terminate the parsing. To print a random string in a random color, use + terminate the parsing. To print a random string in a random color, use sprintf("@C%d@.%s", color, string) and it will work even if the string starts with a digit or has the format character in it. */ @@ -330,7 +328,3 @@ public: }; #endif - -// -// End of "$Id$". -// -- cgit v1.2.3