summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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 "€" 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.
2020-10-30X11+GTK: remove warning when native file chooser runs on WaylandManoloFLTK
2020-10-29Fix PostScript driver for fl_draw_image(buf,X,Y,W,H,D,L) with negative D or LManoloFLTK
2020-10-29Cairo-based PostScript: fix image tilingManoloFLTK
2020-10-28Remove the "Print" window meant for debugging.ManoloFLTK
2020-10-28Pango ps (#148)ManoloFLTK
Use cairo-PostScript to output PostScript when pango is available. This allows to draw in vectorial form any script. Before, only the Latin script could be drawn to PostScript in vectorial form.
2020-10-14Minor fix in doc of the Fl_Image_Surface constructor.ManoloFLTK
2020-10-14Simpler implementation of Fl_Quartz_Image_Surface_Driver::image()ManoloFLTK
2020-10-12Simpler macOS implementation of capture of window titlebars.ManoloFLTK
2020-10-11Change procedure to capture window titlebar for macOS ≥ 10.15ManoloFLTK
That is necessary to support macOS Big Sur because previous procedure did not work for tabbed windows. The new procedure is potentially usable from macOS 10.5, but tested at this stage for macOS ≥ 10.15.
2020-10-08Fl_Xlib_Font_Descriptor does not need char glok[64] when USE_XFT is onManoloFLTK
2020-10-05Fix for issue #145 and for unbundled macOS apps.ManoloFLTK
2020-10-05Fix issue #145: Native file dialog on macOS in the absence of another FLTK ↵ManoloFLTK
window.
2020-10-04Create Fl_X11_System_Driver::dlopen_or_dlsym() for run-time addresses.ManoloFLTK
The intent is to gather in a single place of the X11 platform source code all variable elements when using dlopen() and dlsym() system functions (e.g., .so vs .dylib extension name, is RTLD_DEFAULT available, locations to be sought). Member function Fl_System_Driver::load() is created only to support Fl_Plugin_Manager::load().