6323 Commits

Author SHA1 Message Date
Albrecht Schlosser
642c95517e Improve test/tabs demo - enlarge window, shift widgets around.
This is a layout update only. The window has been enlarged, and some of
the text widgets as well so the labels fit better, depending on fonts.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17 15:26:37 +00:00
Albrecht Schlosser
33e589b22f Add documentation on how to generate the html and pdf docs with CMake.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17 12:25:36 +00:00
Albrecht Schlosser
c4c7767fd8 Remove more superfuous comments, fix one typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16 13:42:25 +00:00
Albrecht Schlosser
2098d8bfd8 Generate Doxyfile and Doxybook from common source file Doxyfile.in.
Now we have less files to edit, and Doxyfile.in is shared with the
CMake generation of Doxyfile and Doxybook.

Besides that two files with FLTK version numbers are now removed (less
work for future version updates).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16 13:18:28 +00:00
Ian MacArthur
ff1feb8adb Rework of fl_utf8 to fix up some build issues on Win32.
Also take a stab at progressing the documentation of
the UTF8 helper methods, as started by Albrecht.
Hope the stuff I have added makes sense!



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16 09:31:05 +00:00
Albrecht Schlosser
e610f5cc8e Fix code indenting, remove dead code, improve documentation.
There was still old (dead) code that had been deactivated by '#if 0'.
This code had been obsoleted by other functions, so it was time to
remove the dead parts of the code.

Many functions were not documented at all. I tried to add documentation,
but I ran out of time.

Todo: there are still some undocumented functions in src/fl_utf8.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 20:28:59 +00:00
Albrecht Schlosser
5573c35ff1 Fix spelling errors and improve documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 20:24:41 +00:00
Albrecht Schlosser
769b35770a Fix documentation. Make links an enumeration so they are displayed correctly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 15:39:10 +00:00
Manolo Gouy
8d57938397 Removing the svn:mime-type property
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10757 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 15:26:08 +00:00
Manolo Gouy
dc6b07c371 Fixed non-ASCII characters in Doxygen comment so they are UTF-8 encoded.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 15:19:51 +00:00
Manolo Gouy
b5b17c1ad2 Added svn:mime-type "text/plain; charset=UTF-8"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 14:59:03 +00:00
Albrecht Schlosser
16944bc383 Fix fl_nonspacing(), explain what non-spacing characters are (STR #3159).
I also edited the mentioned README file to eliminate the most obvious error(s).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 14:28:17 +00:00
Albrecht Schlosser
5283617e68 Fix documentation and make platform specific code better distinguishable.
This commit doesn't change any code (comments only).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 13:41:07 +00:00
Albrecht Schlosser
1ae60108b7 Silence doxygen warnings - commented out obsolete statements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10752 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15 11:31:08 +00:00
Albrecht Schlosser
77d272948c Minor documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-14 17:07:31 +00:00
Manolo Gouy
a097978096 Mac OS: computing a method's address once is enough.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-12 13:15:38 +00:00
Manolo Gouy
0a16c93a42 Fixed Doxygen doc of Fl_Native_File_Chooser::USE_FILTER_EXT option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-11 15:54:04 +00:00
Manolo Gouy
2d23313b4e Removed Doxygen warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-11 11:51:33 +00:00
Manolo Gouy
416c0d99d3 Mac OS: remove 5 compilation warnings of this kind:
warning: comparison of function 'CGDataConsumerCreateWithCFData' not equal to a null pointer is always true
note: prefix with the address-of operator to silence this warning



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-10 10:53:25 +00:00
Manolo Gouy
d408133397 Mac OS: make Fl_Display_Device::high_resolution() private because it is not
intended to be part of the FLTK public API.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-10 10:32:09 +00:00
Manolo Gouy
ca85f4a21e No longer use "-framework AGL" link arguments on the mac with OpenGL apps.
This change in configure.in affects also fltk-config.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10745 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-09 07:51:55 +00:00
Manolo Gouy
8df7d62951 Fixed typo in Doxygen doc of Fl_RGB_Image constructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-08 07:54:26 +00:00
Manolo Gouy
7b9bf2cbdb Fixed typos in the constructors of Fl_JPEG_Image.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-07 06:21:40 +00:00
Manolo Gouy
d37447c7a1 Fixed typos in doc of Fl_JPEG_Image constructors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10742 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-07 06:19:18 +00:00
Manolo Gouy
217261c97f Fixed the doc of the Fl_JPEG_Image constructors mentioning the purpose of Fl_Image::fail().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-07 06:17:14 +00:00
Manolo Gouy
b414576331 Added the libfltk target producing a static FLTK library libfltk.a
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-02 08:48:39 +00:00
Manolo Gouy
01587b308d Mac OS: allow using fl_color(r,g,b) without drawing context.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-30 13:46:59 +00:00
Manolo Gouy
2987b6a02b Added void Fl_Sys_Menu_Bar::setonly(Fl_Menu_Item*) member function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-25 05:46:04 +00:00
Greg Ercolano
97fe01b415 Removing this unused file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-24 19:02:03 +00:00
Greg Ercolano
42b4db0801 Moved docs for fail() from prototype in Fl_Image.H -> implementation in Fl_Image.cxx.
Also added coded example to assist app programmers in usage. (Matt: feel free to modify
the example code as needed)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-24 18:19:24 +00:00
Greg Ercolano
9632e422d3 Fixes these errors on Linux:
../FL/Fl_Image.H:58: error: ISO C++ forbids initialization of member 'ERR_NO_IMAGE'
../FL/Fl_Image.H:58: error: making 'ERR_NO_IMAGE' static



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-24 17:19:57 +00:00
Matthias Melcher
0539009c67 STR #2873: new function Fl_Image::fail() that returns 0, ERR_NO_IMAGE, ERR_FORMAT, or ERR_FILE_ACCESS to make life easier when loading images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-23 23:42:26 +00:00
Lauri Kasanen
03f69c0dd5 Add support for Fl::copy(..clipboard = 2..)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-18 09:10:06 +00:00
Manolo Gouy
f28b89f1d0 Fl::delete_widget() was changed in 1.3.4 to immediately hide the widget,
but the case of an iconified window (visible() is false and shown() is true) was forgotten.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-16 07:18:08 +00:00
Manolo Gouy
0e633c4872 Removed deprecation and implicit cast warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-04 17:00:46 +00:00
Manolo Gouy
626b8ef596 Removed unneeded include statements.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-29 11:48:26 +00:00
Manolo Gouy
a94642ee30 Simpler writing of Fl_X::get_carbon_function().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-29 11:33:56 +00:00
Manolo Gouy
f9fa74e3af Restored the possibility to call Fl::set_font()
in a global initializer (before main() starts).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28 22:02:48 +00:00
Greg Ercolano
1c7daeca63 Doc clarifications for Fl_Image methods:
> inactive()
	> desaturate()
	> color_average()



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28 20:51:32 +00:00
Greg Ercolano
8477a8108b Updated CHANGES to reflect Fl_Text_Display and Fl_Tree mods.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28 19:52:13 +00:00
Greg Ercolano
81654d15eb Fl_Tree: improved draw() behavior when deactivated;
icons draw deactivated now. 

test/tree: Added 'deactivate tree' button to test
deactivating entire widget.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28 19:39:53 +00:00
Manolo Gouy
e4f645d60f Changed the fonts used for the FL_COURIER font family on the Mac.
It used to be 'Courier New' that was judged too thin. 'Courier' will be used now.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28 13:30:12 +00:00
Albrecht Schlosser
f5bf727e37 [CMake] Add option to suppress CMake regeneration (STR #3215).
This option is marked as advanced and only available with CMake >= 3.0.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 22:57:17 +00:00
Albrecht Schlosser
5f3f1c8bc6 [CMake] Add doxygen documentation generation (STR #3195).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 21:42:51 +00:00
Albrecht Schlosser
a6a75b81d2 [CMake] Update fltk-config generation for AIX (STR #3217).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10719 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 20:36:48 +00:00
Albrecht Schlosser
b02747d157 Simplify documentation generation, remove obsolete file.
Doxybook and Doxyfile have been compared and differences have
been adjusted so there are only _relevant_ differences now.

The dependency on fltk-book.tex in html generation has been removed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10718 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 17:23:21 +00:00
Albrecht Schlosser
adb63efc6f Remove obsolete Doxygen settings SHOW_DIRECTORIES and HTML_ALIGN_MEMBERS.
Both variables are obsolete since Doxygen 1.8.1, and both variables
had been set to their default values. Hence older Doxygen versions
should produce correct results.

Tested and confirmed with Doxygen 1.7.3, released Feb 2011.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 16:57:06 +00:00
Albrecht Schlosser
e23bf0b768 [CMake] Fix CMake build's fltk-config (STR #3217).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-25 13:50:27 +00:00
Greg Ercolano
d2b7b5b24a Fixed small typo, added some elipsis to clarify docs
when copy/pasting into email/forum posts as clear text.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-24 21:25:30 +00:00
Ian MacArthur
d0e5b00ea7 WIN32 specific fix for (or at least work around to) STR #3143.
In testing, this resolves the reported issue, but I'd be happy if we could find a
solution that resolved the underlying issue of us missing PostThreadMessage()
messages passed from the worker thread to the main thread, whilst the main window
is unresponsive (i.e. moving or dragging.)

This also puts in place an amendment to the way the awake callback ring-buffer indices
are tested, when the buffer is wrapping over or near to full. This was identified by 
Albrecht in STR #3223 (item #1 on that STR, though there are a few other issues 
identified there.)

In my testing, this appears to be correct and robust. Further testing would not go
amiss, however.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-23 10:11:23 +00:00