summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-02-16Use <config.h> when appropriate.ManoloFLTK
2021-02-16Create virtual Fl_RGB_Image* Fl_Gl_Window_Driver::capture_gl_rectangle()ManoloFLTK
2021-02-16Create classes Fl_XXX_Gl_Window_Driver according to driver model.ManoloFLTK
2021-02-15PR #174: Skip the call to MonitorFromRect when it is not needed.ManoloFLTK
2021-02-15Update CMake and make files, minor edits onlyAlbrecht Schlosser
There are no functional changes to be expected, mostly formatting and comments.
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2021-02-12Fix for issue #185 "Shared Image reload() loses initial dimensions"ManoloFLTK
2021-02-12Fix missing export of fl_scroll() (issue #186)Albrecht Schlosser
2021-02-11Fix X11 copy-paste and drag-and-drop target selection (#182)Albrecht Schlosser
Select the "best" target rather than a random one out of a list of suitable targets. The old target selection algorithm would sometimes select the wrong target and hence retrieve unexpected data. This could happen in both copy-paste and drag-and-drop operations. Note: backported to 1.3.6 (git current) as well (commit 7ce6d2cf5dfc0488ec30d9f9f1709be73353479c). Closes #182.
2021-02-11Fix for issue #185 in Fl_Shared_Image::reload()ManoloFLTK
This fix updates Fl_Shared_Image::reload() to account for the data_w() and data_h() image members.
2021-02-10Fix potential NULL pointer dereferenceAlbrecht Schlosser
2021-02-10Windows scaling support: fix after WM_MOVE and in mouse_event()ManoloFLTK
The fix in mouse_event() makes sure the scale factor of the receiving window is correct when distinct screens have distinct scale factor values. The fix after WM_MOVE event makes sure a subwindow-containing window in a multiple-screen desktop having distinct scale factor values is correctly rescaled.
2021-02-01Scaling support under Windows: fix fullscreen window mode.ManoloFLTK
When scale was > 1, fullscreen window did not cover the task bar, as seen with test/fullscreen.
2021-01-25Windows: restore "checkers" app that was damaged after handling of issue #155.ManoloFLTK
2021-01-25Windows: fix scaling problem in Fl_Tile.ManoloFLTK
The problem was visible with test/tile for fractional scaling values when moving the vertical division.
2021-01-08Fix Fl_Help_View::find() (issue #179)Albrecht Schlosser
Fix search (string comparison) which had a few different issues. Document the function, arguments, and details about string matching. To do: correctly match complex HTML entities like "&euro;" with Unicode code points >= U+0080 (UTF-8 multi byte encoding).
2020-12-13Set errmsg to exterr instead of err which will always be zero.ComputerNerd
2020-12-03Windows scaling: fix redraw after partial expose events.ManoloFLTK
Under XP (at least), WM_PAINT events occur where information of where to redraw is mostly given by the system, in the window's update region. When the GUI is scaled, that information must be un-scaled and then added to Fl_X::i(window)->region, for the adequate part of the window to be painted.
2020-12-02Improve Fl_Graphics_Driver::cache_size() when GUI is scaled.ManoloFLTK
The change lets this function enlarge the size only when strictly necessary for image tiling.
2020-12-01Windows scaling: fix computation of border sizes.ManoloFLTK
The corrected error was to use, e.g., int dx = W - w->w() * s; which does not produce the desired integer value. The correct writing is : int dx = W - int(w->w() * s);
2020-11-30Scaling for Windows and X11: support rectangular loops.ManoloFLTK
2020-11-29 Fix for issue #123 - Windows platformManoloFLTK
2020-11-29Windows: fix undrawn pixels at right and bottom of scaled windows.ManoloFLTK
2020-11-27Fix for issue #123 - macOS platformManoloFLTK
2020-11-27Prevent compilation warning about uninitialized variables.ManoloFLTK
2020-11-25Fix for issue #123 - X11 platformManoloFLTK
As discussed, only the window position becomes rounded to nearest integer value when a fractional GUI scale factor is applied.
2020-11-24Fix for issue #163: Improve Xrender scaling qualityManoloFLTK
2020-11-22Fix issue #162Greg Ercolano
2020-11-22Fix for STR #3424 and for issue #160ManoloFLTK
2020-11-21Update dependenciesAlbrecht Schlosser
2020-11-20Fix for issue #159 - continuedManoloFLTK
Changes here concentrate the fix within static function alpha_blend() and thus are visible only when drawing transparent images under X11 platform without Xrender.
2020-11-19Remove compilation warnings about signed/unsigned comparison.ManoloFLTK
2020-11-19Fix for issue #159.ManoloFLTK
2020-11-19Remove unnecessary function call when macOS ≥ 10.6ManoloFLTK
2020-11-19Rename private member function with trailing underscore.ManoloFLTK
2020-11-19Add comment about detection of macOS "Big Sur" 11.0 at run-time.ManoloFLTK
2020-11-17Fix whitespace and minor formatting issuesAlbrecht Schlosser
2020-11-17Replace virtual Fl_RGB_Image::cache_size() by virtual Fl_Image::cache_size()ManoloFLTK
2020-11-13Fix for issue #155 - continuedManoloFLTK
This fix takes care of the Windows platform.
2020-11-12Fix for issue #155 - continuedManoloFLTK
Restores proper separation of what is in libfltk and what is in libfltk_images
2020-11-12Fix for issue #155 - continuedManoloFLTK
The issue lies in details how floating point scaled coordinates are converted to integer values and its impact on the drawing of large SVG images. This commit fixes the X11 platform. The macOS platform is immune because drawing uses floating point coordinates. The Windows platform still needs fixing.
2020-11-10Fix for issue #155 "SVG rendering spoiled by scaling".ManoloFLTK
2020-11-10Restore building with --disable-svgManoloFLTK
2020-11-10Remove useless typedef declaration.ManoloFLTK
2020-11-10Remove compilation warning that HAVE_DLFCN_H is undefined.ManoloFLTK
2020-11-07Simpler code and doc of Fl::screen_scale(int n, float factor)ManoloFLTK
2020-11-03Add extra argument to Fl_SVG_File_Surface constructor.ManoloFLTK
This makes processing of the underlying FILE object consistant by classes Fl_SVG_File_Surface, Fl_EPS_File_Surface and Fl_PostScript_File_Surface.
2020-11-02Fix possible memory leak in ↵ManoloFLTK
Fl_WinAPI_Screen_Driver::read_win_rectangle_unscaled() Thanks to "fire-eggs" for spotting it. Also minor optimisations in Fl_X11_Screen_Driver::read_win_rectangle_unscaled() and Fl_Cocoa_Screen_Driver::read_win_rectangle_unscaled(). This closes PR #151.
2020-11-02Save fl_file_chooser directory on cancel (STR 3225) (#110)engelsman
* save fl_file_chooser directory on cancel (STR3225) by default, the fl_file_chooser() starts in the current directory if no filename is given, but the directory is reset to the "system directory" if the dialog is cancelled without choosing a file. This patch saves and restores the directory if no file is chosen. See also https://www.fltk.org/str.php?L3225 * add fl_file_chooser() reinitialization comments
2020-11-01Add Fl_PostScript_File_Device::close_command(Fl_PostScript_Close_Command cmd)ManoloFLTK
Also expand Doxygen doc of class Fl_Printer for the X11 platform.