Commit Graph

5983 Commits

Author SHA1 Message Date
Manolo Gouy
a3845fc51d Improved Fl_Paged_Device::print_window() when used on an Apple computer with a retina display:
the window tittle bar is printed at high resolution.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-11 14:33:43 +00:00
Manolo Gouy
6232a298f3 Fixed errors in fl_read_image() and Fl_Paged_Device::print_window_part()
when using Apple computers with retina displays.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-11 13:43:06 +00:00
Albrecht Schlosser
982e6ffb2c CMake: rename reserved target name "help" (CMake 2.8.12 and later).
The executable built is still help(.exe).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-09 16:11:36 +00:00
Albrecht Schlosser
cb6cc2d5a9 Revert unintentionally committed files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-09 16:09:04 +00:00
Albrecht Schlosser
078df04bfd CMake: Prevent annoying warning under Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-09 16:03:56 +00:00
Pierre Ossman
3e4af3cd8c Make sure we unregister for clipboard notifications on exit
on Windows. This is necessary because Windows doesn't implicitly
clean up when a process dies, and we cannot trust applications to
always explicitly unregister.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-09 12:52:05 +00:00
Pierre Ossman
933840f353 Start putting forward declarations early in the file in an
organised manner. Keeps things cleaner.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-09 11:52:43 +00:00
Albrecht Schlosser
f127b22270 Escape '\n' ('\\n') in doxygen comment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-09 11:45:02 +00:00
Pierre Ossman
6d06bb425d Make the retargeting of the Windows clipboard notification
more explicit. Otherwise we could end up with
Fl::remove_clipboard_notify() unregistering, just to have it
immediately re-register again.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-08 12:47:20 +00:00
Albrecht Schlosser
15de7c0600 Fix border padding for special cases (STR #3061), Windows only.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-08 11:57:43 +00:00
Albrecht Schlosser
fc912ef786 Fix ABI compatibility comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 23:38:39 +00:00
Albrecht Schlosser
a1c0b1b08c Add html doc dependency on (unused) src/fltk-book.tex for doxygen.
This is not intended and could also be removed from Doxyfile, but
currently this is the best way - more changes to come...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 22:39:31 +00:00
Albrecht Schlosser
31512b7323 Fix a tiny memory leak in test/editor and remove useless style_init().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 19:49:19 +00:00
Albrecht Schlosser
d92be3f5f1 Reduce "deprecated function" compiler warnings (STR #2913).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 16:51:24 +00:00
Albrecht Schlosser
02b1646d0e Make image data 'const' for all image types in fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 11:56:06 +00:00
Albrecht Schlosser
386c2413f8 More 1.3.3 version updates and changes in src/*.fl.
There had been manual changes in fluid-generated files, so the .fl files
had to be adjusted and updated to fltk 1.3.3.

Note that fluid SHOULD generate 'const' data for embedded images, but
doesn't yet, so I had to re-edit src/Fl_File_Chooser.cxx to keep the
previous 'const' changes in this file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 11:28:29 +00:00
Albrecht Schlosser
b60e474bc3 Another version number update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 08:33:47 +00:00
Manolo Gouy
8994406424 Updated three more copyright years.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 06:32:43 +00:00
Albrecht Schlosser
c2ede5bb26 Missing version number update
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 01:23:51 +00:00
Albrecht Schlosser
aef482198e Bump version numbers to 1.3.3.
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ
somehow, but there are no significant changes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05 00:03:27 +00:00
Albrecht Schlosser
7aa27859a5 Improve documentation generation (pdf only).
Add file VERSION that includes the FLTK version number (only), generate
fltk.pdf with automatic copyright year and doxygen version.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10352 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-04 23:42:17 +00:00
Albrecht Schlosser
8a3c43da55 Remove unused htmldoc from autoconf configure options.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-04 22:32:34 +00:00
Manolo Gouy
7a609f3912 Protect use of dlopen() with HAVE_DLSYM and HAVE_DLFCN_H for compatibility with cases where this function is not available.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-01 17:43:27 +00:00
Manolo Gouy
ecbda61220 Protect use of dlopen() and dlsym() with HAVE_DLSYM and HAVE_DLFCN_H for compatibility with cases where these functions aren’t available.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10349 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-01 17:24:55 +00:00
Manolo Gouy
fca603cc35 Protect use of dlopen() and dlsym() with HAVE_DLSYM and HAVE_DLFCN_H for compatibility with cases where these functions aren’t available.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10348 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-01 16:37:13 +00:00
Manolo Gouy
bbefe857db Added control of the Fl::OPTION_FNFC_USES_GTK option in the "Edit/Global FLTK Settings" menu item of fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-30 13:06:35 +00:00
Manolo Gouy
0a77482bba These files should be created by fluid from alignment_panel.fl. So, back to their previous versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-30 10:25:06 +00:00
Manolo Gouy
77b160e19d Added control of the Fl::OPTION_FNFC_USES_GTK option in the "Edit/Global FLTK Settings" menu item of fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-30 09:07:35 +00:00
Albrecht Schlosser
529aaf08f7 Configure enhancements for Cygwin (STR #2974).
Remove obsolete -mno-cygwin option for Cygwin -> MinGW/WIN32 compilation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-28 20:48:00 +00:00
Albrecht Schlosser
5a8385cf2d Add forgotten file for CMake enhancements (STR #3055).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:44:47 +00:00
Albrecht Schlosser
318c3619dc CMake enhancements, as discussed in STR #3055.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:41:06 +00:00
Albrecht Schlosser
8ef6520fe3 Fix indentation in recently added test/twowin.cxx demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:07:27 +00:00
Albrecht Schlosser
d6c9db1b92 Add missing svn $Id$ tags in new test files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-27 00:04:15 +00:00
Albrecht Schlosser
eb1af07952 Add Fl_Window::wait_for_expose() and test program (STR #3124).
Also modified .gitignore, svn-properties, Makefile and CMake-Files.

Todo: test/twowin.cxx and test/windowfocus.cxx need to be added to ide files
(MS VC++ and Xcode).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 23:58:05 +00:00
Manolo Gouy
5899b2cc6d Added missing include x.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 17:11:21 +00:00
Albrecht Schlosser
11306d9951 Remove obsolete htmldoc file fltk.book.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-25 22:46:39 +00:00
Albrecht Schlosser
5b774e9970 Use fl_ascii_strcasecmp in fluid/factory.cxx (STR #3006).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-25 10:37:35 +00:00
Manolo Gouy
186312db50 Removed useless extern void fl_restore_clip()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-23 10:48:36 +00:00
Manolo Gouy
43d26240b5 Simpler implementation of Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha() does just as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-23 10:36:58 +00:00
Albrecht Schlosser
023589e703 Update dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 19:07:55 +00:00
Albrecht Schlosser
66a162535f Fix documentation (more typos and formatting).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 18:26:29 +00:00
Albrecht Schlosser
de3fd7574f Generate version number in fluid's about panel automatically.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 18:22:02 +00:00
Manolo Gouy
afb08c015d Corrected drawing of RGBA images to Fl_Image_Surface and to Fl_Copy_Surface objects under WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 16:51:21 +00:00
Manolo Gouy
f5e93e53ec Reformatted the Doxygen documentation of Fl_Window::shape(Fl_Image*)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-22 11:37:34 +00:00
Manolo Gouy
01c5028f0a Removed use of deleted Fl_Shaped_Window.* files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-21 15:16:43 +00:00
Manolo Gouy
b40ff04145 Corrected problem when compiling without FLTK_ABI_VERSION.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-21 14:59:11 +00:00
Manolo Gouy
82960c272b Replaced Fl_Shaped_Window.cxx by Fl_Window_shape.cxx in VisualC files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-21 14:38:10 +00:00
Manolo Gouy
f1b2c92fce STR#3093 continued: deleted the Fl_Shaped_Window class. Instead, added new member function Fl_Window::shape(Fl_Image*)
that gives a non-rectangular shape to a standard window. The benefit is that it works with Fl_Double_Window and Fl_Menu_Window as well.
It also works for free with Fl_Gl_Window on the X11 platform only.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-21 14:10:36 +00:00
Albrecht Schlosser
6781789948 Add test/twowin to .gitignore file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-19 22:03:17 +00:00
Albrecht Schlosser
ada02ea752 Fix memory leak (STR #3069).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-19 16:28:16 +00:00