modifies the glyph used to draw the previous Unicode codepoint.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This defeats the procedure FLTK uses to compute text widths (precomputing the width of each used
character) because the width of character n is not unique and potentially depends on character n+1.
Therefore, we now remove variation selectors from the input string before drawing it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Screen captures produce ARGB data (instead of RGBA until 10.10)
so access to the raw image data takes now this into account.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FL_ABI_VERSION should not be set in the IDE projects to avoid having to
update the version numbers for each release.
The default is used if FL_ABI_VERSION is not defined.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit adds the configure option --with-abiversion and the CMake option
OPTION_ABI_VERSION. Both options can be set e.g. to 10304 to build with
FL_ABI_VERSION = 10304 (FLTK 1.3.4).
For IDE builds there are new files ide/<IDE-NAME>/FL/abi-version.h that
can be edited to change the ABI version before the FLTK lib is built.
Note that this file MUST be copied to the include/FL directory if the
IDE-built library is to be installed.
The default is FL_ABI_VERSION = FL_MAJOR*10000 + FL_MINOR*100 + 0, i.e.
10300 for all FLTK 1.3.x versions to keep binary compatibility (ABI).
Todo: more tests and more documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Two new static methods have been introduced:
- Fl::box_color(Fl_Color c) returns the bg color dependent on the
widget's state (inactive_r()).
- Fl::set_box_color(Fl_Color c) sets the correct bg color dependent
on the widget's state by calling fl_color(Fl::box_color(c)).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
As noticed in fltk.general, documentation of Fl_Scroll::resize() did not
exist, hence the documentation shown was that of the parent class Fl_Group,
which was definitely wrong.
Some more minor documentation fixes have also been applied. No code changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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
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
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
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
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
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
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