summaryrefslogtreecommitdiff
path: root/src/drivers
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-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
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
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-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-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-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-17Fix whitespace and minor formatting issuesAlbrecht Schlosser
2020-11-13Fix for issue #155 - continuedManoloFLTK
This fix takes care of the Windows platform.
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-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-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-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-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-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-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().
2020-10-02Have Fl_X11_System_Driver::newUUID() use uuid_generate() if available at ↵ManoloFLTK
run-time. The code falls back to the ad-hoc method if uuid_generate() isn't available.
2020-09-30Fix possible memory allocation error.ManoloFLTK
2020-09-23Solves issue #143.Greg Ercolano
2020-09-21macOS: minor improvement of capture of window titlebar.ManoloFLTK
2020-09-19macOS: increase resolution when drawing window titlebars to PostScriptManoloFLTK
2020-08-05Remove useless 'if (...)'Albrecht Schlosser
- dasharray_ can never be NULL unless if memory allocation failed previously - if dasharray_ was NULL, the previous strcmp() would have crashed anyway (but it can't be NULL, see above)
2020-08-04Remove memory leak.ManoloFLTK
2020-08-03Remove useless Fl_GDI_Graphics_Driver::reset_spot()ManoloFLTK
2020-08-01Remove unneeded strdup from example, fold tabsGreg Ercolano
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-31Solves issue #117, memcmp -> strncmpGreg Ercolano
Closes #117.
2020-07-30Fix use of an SVG image in Fl_Tiled_Image when display is rescaled.ManoloFLTK
2020-07-28Fix for issue #119. Drawing artefacts for SVG images without XRender.ManoloFLTK
Xlib: Drawing SVG images in scaled mode without XRender has drawing artefacts.
2020-07-14First pass at fixing issue 99Greg Ercolano
A lot of code touched because low level functions needed to pass up error messages reliably, and this had to propagate up the entire driver hierarchy. Tested OK *in English* on: > Linux > OSX 10.10.x > Windows VS2017 > Windows mingw64 I have no way to test on Android, but it might work. TODO: Needs testing in other languages to verify proper UTF8 error messages, esp. with Windows VS, due to complexities with FormatMessage() -- see get_ms_errmsg()