| Age | Commit message (Collapse) | Author |
|
|
|
moved" (#1191)
This commit adds support of scenarios where a child window is moved while its parent is simultaneously modified.
|
|
Adjust internal vector sizes before and after changing the rows() in
the base class to avoid inconsisten sizes.
Note that the crash reported by the OP of PR #1187 was caused by
more than one issue, not only the one fixed here. Thanks for the
original patch to the author, GitHub user 'basiliscos'.
|
|
font family
Users who need the old behavior for strict backwards compatibility under Windows can load the previous (Arial) font at program startup with only a few lines of code:
#ifdef _WIN32
// reset Windows fonts to pre-1.4.2 state
Fl::set_font(FL_HELVETICA, " Arial");
Fl::set_font(FL_HELVETICA + 1, "BArial");
Fl::set_font(FL_HELVETICA + 2, "IArial");
Fl::set_font(FL_HELVETICA + 3, "PArial");
#endif
|
|
Fl_Quartz_Image_Surface_Driver c'tor
Fl_Window::current() can refer to a deleted window is some scenarios
|
|
1. prepend include dirs of bundled image libs and append Cairo include
dirs and flags
2. remove forgotten debug statement from previous commit
|
|
Avoid adding a non-existent folder to include directories (-I)
in `fltk-config --cxxflags` etc.
|
|
This is a safety for consistency. It doesn't really change the result
but avoids "adding" an empty argument to a CMake list.
|
|
On FreeBSD some of the required header files (and libraries) are not
in standard (known) locations, hence they wouldn't be found under
certain circumstances. Making all dependencies 'PUBLIC' adds the
needed include directories and link libraries to all builds.
For details see GitHub Issue #1173 with title
"FLUID compilation error on FreeBSD when FLTK_BACKEND_X11=ON"
|
|
Fl_Wayland_Screen_Driver::insertion_point_location()
This makes the IM aware of the cursor movement to the right after having committed text.
|
|
The Windows doc at https://learn.microsoft.com/en-us/typography/font-list/arial-unicode-ms
of the "Arial Unicode MS" font reads
"The font was included with Office but not Windows. …
We stopped servicing and updating Arial Unicode and no longer install it as part of Office."
Using that font is therefore not the best choice.
This commmit uses "Microsoft Sans Serif" instead available in all Windows versions
since Windows 2000.
|
|
|
|
This fix is different than the proposed PR.
The PR will be closed and not merged.
Closes #1167.
|
|
Note: this also removes the (not working) suggestion to add an invisible
box to an Fl_Scroll-type child of Fl_Tabs.
|
|
Unfortunately this *appears* to be a new constraint caused by the great
new features of Fl_Tabs like overflow handling etc. and fixing drawing
issues in the tab area (since FLTK 1.4).
However, this conflict has already been there in 1.3 but didn't cause
visual artifacts in normal use.
|
|
|
|
As discussed in the context of PR #1187 the previous return value '-1'
was misleading and undocumented. The docs mentioned only '1' and '0'.
User code that used the return value as documented (like a `bool`)
would make the wrong decision if the return value was '-1': true
(selected) instead false (out of range).
This commit fixes the code by doing what the docs define and clarifies
the documentation.
Further documentation improvements of Fl_Table (example code used a
method that is not defined in Fl_Table) and of Fl_Table_Row are
included as well.
Doxygen docs of two methods of Fl_Table_Row moved to the .cxx file
where they belong according to the CMP.
|
|
|
|
|
|
|
|
scrolling (#1186)
|
|
|
|
Member function Fl_Cairo_Graphics_Driver::set_cairo() needs be called only to initialize the driver.
Doing it also later undoes the effect of Fl_Widget_Surface::translate() if used
when Fl_Surface_Device::pop_current() calls the overridden Fl_Surface_Device::set_current().
|
|
|
|
This is required by Swig to generate code for wrapping
FLTK for Python and potentially other languages. It has
no impact on the API or ABI.
|
|
|
|
|
|
|
|
Capitalized constants.
Added flag to indicate creation by user or file.
Removed global variable 'reading_file'.
|
|
Force casting int to long whenever a pixel offset is calculated
as offsets can cross the 2GB border for very large images.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The search function now skips '<...>' blocks
more reliably and also finds Unicode HTML entities and
UTF-8 encoded characters.
|
|
Damage flag `FL_DAMAGE_ALL` is set during Fl_Pack::draw if child
is repositioned. If the child is outside the clipping area, if will not redraw
and the flag will remain set even after Fl_Pack::draw which is not allowed.
|
|
|
|
The previous version didn't delete the docs before the source files
were packed which resulted in too big release tarballs.
Notes:
(1) Release 1.4.1 has been updated (files were replaced) so all
further downloads are not affected.
(2) The git commits on tag release-1.4.1 do not include this commit
but this is OK. This will be in the next release.
(3) makesrcdist itself is not packed in the source tarballs anyway.
|
|
|
|
|
|
This reverts the improvement of #1139 in the default build which is
now only available with FL_ABI_VERSION=10401 or higher.
Users that need this improvement need to build with the required
ABI version by setting it with configure or CMake.
|
|
|
|
|
|
|
|
Found with warning level: /W3
|
|
- add chapter 2.2.5 : "Other CMake Cache Variables" and document
some cache variables and how to access and modify them,
- clarify and extend the toolchain-file example,
- explain how to find and use the correct fluid executable when
cross-compiling
|