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. --- examples/howto-text-over-image-button.cxx | 40 +++++++++++++------------------ 1 file changed, 17 insertions(+), 23 deletions(-) (limited to 'examples/howto-text-over-image-button.cxx') diff --git a/examples/howto-text-over-image-button.cxx b/examples/howto-text-over-image-button.cxx index f102dc70b..f0861a9c1 100644 --- a/examples/howto-text-over-image-button.cxx +++ b/examples/howto-text-over-image-button.cxx @@ -1,16 +1,14 @@ // -// "$Id$" +// Simple example of a button with text over an image +// Originally from erco's cheat sheet 10/25/2010, permission by author. // -// Simple example of a button with text over an image -// Originally from erco's cheat sheet 10/25/2010, permission by author. +// This shows how to include an 'inline' image (.xpm) +// and have it appear on an Fl_Button. Demonstrates the use of the +// FL_ALIGN_IMAGE_BACKDROP align() flag (new in FLTK 1.3.0). // -// This shows how to include an 'inline' image (.xpm) -// and have it appear on an Fl_Button. Demonstrates the use of the -// FL_ALIGN_IMAGE_BACKDROP align() flag (new in FLTK 1.3.0). -// -// Note that the XPM can just as easily be in an #include file, -// but to keep the example self contained, the image (a gray scale -// gradient) is included here. +// Note that the XPM can just as easily be in an #include file, +// but to keep the example self contained, the image (a gray scale +// gradient) is included here. // // Copyright 2010 Greg Ercolano. // Copyright 1998-2010 by Bill Spitzak and others. @@ -19,11 +17,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 #include @@ -33,12 +31,12 @@ /* XPM */ static const char * gradient_xpm[] = { "135 20 26 1", -"a c #e0e0e0", "b c #dcdcdc", "c c #d8d8d8", "d c #d4d4d4", "e c #d2d2d2", -"f c #d0d0d0", "g c #cccccc", "h c #c8c8c8", "i c #c4c4c4", "j c #c2c2c2", -"k c #c0c0c0", "l c #bcbcbc", "m c #b8b8b8", "n c #b4b4b4", "o c #b2b2b2", -"p c #b0b0b0", "q c #acacac", "r c #a8a8a8", "s c #a4a4a4", "t c #a2a2a2", -"u c #a0a0a0", "v c #9c9c9c", "w c #989898", "x c #949494", "y c #929292", -"z c #909090", +"a c #e0e0e0", "b c #dcdcdc", "c c #d8d8d8", "d c #d4d4d4", "e c #d2d2d2", +"f c #d0d0d0", "g c #cccccc", "h c #c8c8c8", "i c #c4c4c4", "j c #c2c2c2", +"k c #c0c0c0", "l c #bcbcbc", "m c #b8b8b8", "n c #b4b4b4", "o c #b2b2b2", +"p c #b0b0b0", "q c #acacac", "r c #a8a8a8", "s c #a4a4a4", "t c #a2a2a2", +"u c #a0a0a0", "v c #9c9c9c", "w c #989898", "x c #949494", "y c #929292", +"z c #909090", "aaaaaaaaabbbbbbbbcccccccddddddeeeeeefffffffgggggggghhhhhhhiiiiiiijjjjjjjkkkkkkkklllllllmmmmmmmnnnnnnnnnoooooooppppppppqqqqqqrrrrrrrssss", "aaaaaabbbbbbbbcccccccddddddeeeeeefffffffgggggggghhhhhhhiiiiiiijjjjjjjkkkkkkkklllllllmmmmmmmnnnnnnnnnoooooooppppppppqqqqqqrrrrrrrsssssst", "aaabbbbbbbbcccccccddddddeeeeeefffffffgggggggghhhhhhhiiiiiiijjjjjjjkkkkkkkklllllllmmmmmmmnnnnnnnnnoooooooppppppppqqqqqqrrrrrrrsssssssstt", @@ -76,7 +74,3 @@ int main(int argc, char **argv) { win->show(argc,argv); return(Fl::run()); } - -// -// End of "$Id$". -// -- cgit v1.2.3