FLTK now handles Fl_Double_Window with the cairo graphics driver as with the X11 graphics driver:
- when drawing via the window's draw() method, FLTK draws to the offscreen cairo surface
and then copies the offscreen surface to the screen;
- when drawing outside the draw() method after a call to make_current(), FLTK draws to
a cairo surface associated to the mapped window.
Using 1.5 pixels causes text to be rendered one pixel offset to the top
left. This is visible when text is selected as the characters touch the
top left border.
The fl_text_extents is also updated to make sure the bounding box is
properly placed.
Unsigned bundles behave incorrectly when the app calls fl_open_callback()
and a file is dragged on the bundle icon to launch it: a delay of several seconds
occurs before the app shows its GUI.
... to avoid side effects under Windows where the default would
prevent entering emoji's with the emoji palette if the WNDCLASS
begins with "edit" (conflict with a system WNDCLASS).
This is also documented in the respective tutorial chapter.
... introduced in commit 81c965f8e2.
Note: we must not change the xclass (WNDCLASS) set by the user.
Setting another xclass() in FLTK demo programs where the name might
conflict with system WNDCLASS's is the better choice.
Exporting executable files means that they would appear in the CMake
config files as "imported targets". This could break the config files
of Linux and other distributions if such executables are not installed
when building FLTK programs.
The only executable files that need to be exported are the `fluid`
executables that may be used to convert .fl files during building.
- separate layout and contents of example text widgets
- use Fl_Grid for more flexibility in the layout of the main window
- reformat some parts but not all code to FLTK style
- add comments, fix font style calculation ("near fixed pitch")
- add tooltips with user instructions to some of the widgets
- add "rainbow" emoji as colored emoji example
- reformat contents of the "unichar drop box"
- fix: comparison of integer expressions of different signedness
- rename confusing variable 'l' to 'len' (l can be confused with 1)
- minor comment and code formatting
This commit should not change the behavior.
It's possible to build and run FLTK 1.5 with its use of C++11 for macOS 10.7 and SDK 10.7.
This commit makes 10.7 the required minimal version of macOS to build and run FLTK 1.5.