Commit Graph

14 Commits

Author SHA1 Message Date
Albrecht Schlosser
f09e17c3c5 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.
2020-07-06 20:28:20 +02:00
ManoloFLTK
ea09ea1009 Use visible size information when copying macOS image from clipboard. 2020-01-18 17:09:10 +01:00
Manolo Gouy
d600ccc034 Remove unnecessary platform-specific #if / #endif clauses.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-29 09:20:08 +00:00
Manolo Gouy
09f15fcac0 Slightly simplify examples/clipboard.cxx using Fl_Image::scale().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-04-29 16:29:13 +00:00
Albrecht Schlosser
52ae3582a2 Replace "WIN32" with "_WIN32" or "Windows".
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32".
Replace "WIN32" in text and documentation with "Windows".
Replace "MSWindows" with "Windows".

To do: README.Windows.txt (and maybe other documentation as well)
needs updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09 14:39:42 +00:00
Manolo Gouy
7847c2d87a WIN32 HiDPI support: fix copy and paste of image data when rescaling is applied.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-07 14:31:40 +00:00
Manolo Gouy
dcb26fc188 Remove unneeded extern declaration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-05 07:42:48 +00:00
Manolo Gouy
e6b4af2c47 Fix how to access clipboard content at program start.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-04 05:59:18 +00:00
Manolo Gouy
d47b431750 Fix potential memory leak under X11 when pasted image is not accepted by the receiving app.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-03 14:28:45 +00:00
Albrecht Schlosser
524ebcef0b Fix example programs after removal of some system #include's.
This adds missing headers that were previously included in other
FLTK header files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-31 21:48:15 +00:00
Albrecht Schlosser
d24a6b2633 Move RGB image scaling algorithm methods in base class Fl_Image.
See also discussion in fltk.coredev of Sept 07, 2014 and later
with subject "Fixing the nearest-neighbour scaling".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-14 11:53:51 +00:00
Albrecht Schlosser
49e21120b6 Improve clipboard example program, fix compilation warnings.
Use show(argc,argv) to enable command line arguments and colors,
fix indentation, Windows compilation warnings, and change tab
selection color, which was too dark on my Win7 system (low
contrast with tab labels).

I also added #define TAB_COLOR to make changing the tab selection
colors easier, if needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-17 11:51:56 +00:00
Manolo Gouy
90ba43b16c Reset file header and footer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-24 16:29:39 +00:00
Manolo Gouy
07dd8ba328 Added copy/paste from/to FLTK applications of graphical data.
Added Fl_Image_Surface class to draw into an Fl_Image object.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23 16:47:21 +00:00