Albrecht Schlosser
a7670ae8d4
Fix button label clipping (STR #3237 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-27 15:20:23 +00:00
Albrecht Schlosser
9801bb7839
Prevent sending (FL_SHORTCUT) events to inactive widgets (STR #3216 ).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-27 14:13:57 +00:00
Greg Ercolano
aa9b326b56
Fixes STR 3234
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-23 16:36:47 +00:00
Manolo Gouy
b231696dcf
Indentation fix.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-22 05:15:42 +00:00
Albrecht Schlosser
8c4a98ac36
Fix Fl_Pixmap (background) drawing to respect the clip region (STR #3206 ).
...
STR title: (Re-)drawing artefacts with scheme plastic after STR 3059.
It turned out that drawing a pixmap could enlarge the clip region if the
intersection of the clip region and the pixmap was not a single rectangle.
Hence drawing the background pixmap would draw outside the clip region
and leave artefacts when a widget was drawn on top of it. See STR #3206 .
Thanks to Manolo who had the idea and provided a patch to draw into
the individual rectangles of a multi-rectangle clip region.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 12:08:15 +00:00
Manolo Gouy
c0b97d86d4
Simpler target-specific options
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 08:23:21 +00:00
Manolo Gouy
59914ef57d
Removed some warnings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 08:08:39 +00:00
Manolo Gouy
d7aa656044
Remove some minor warnings.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10768 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21 07:46:16 +00:00
Albrecht Schlosser
2b6bcd5a83
Fix and adjust documentation, remove trailing white space.
...
This is a comment/white space only commit to prepare for following
code changes in a later commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17 16:36:04 +00:00
Albrecht Schlosser
bea83e9cef
Another update of tabs.fl.
...
Sorry, messed it up. This one is hopefully okay.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17 16:10:37 +00:00
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