summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2021-03-31Move the X11-specific part of GTK native file chooser to Fl_X11_System_DriverManoloFLTK
2021-03-31Fl_X11_System_Driver::probe_for_GTK() is now ↵ManoloFLTK
Fl_Posix_System_Driver::probe_for_GTK()
2021-03-31Move quadruple_dlopen() to Fl_Posix_System_Driver.cxx where it's used.ManoloFLTK
2021-03-31Move probe_for_GTK() to class Fl_Posix_System_Driver from Fl_X11_System_Driver.ManoloFLTK
Similarly move dlopen_or_dlsym(). This move is because GTK is not X11-specific.
2021-03-27Add guard against multiple inclusion of header file.ManoloFLTK
2021-03-26Remove X11-specific code from platform-independent Fl_PostScript.cxxManoloFLTK
2021-03-23Optimization for pixel loop.Greg Ercolano
As per erco's comments on fltk.coredev, Mar 21 2021 in thread Subject: Re: 1.4 build failing on OSX for me
2021-03-22Remove unused #include statementsAlbrecht Schlosser
Cairo is not used in this file, math.h is not necessary, and stdio.h is only required if USE_PANGO is false.
2021-03-22Add missing include file stdlib.h for abs(int)Albrecht Schlosser
This file was included (in math.h or elsewhere) on Linux and latest macOS versions but maybe not in earlier macOS versions or with other configuration options.
2021-03-21Windows: fix fl_filename_isdir()Albrecht Schlosser
- convert filename from UTF-8 to "Windows wide chars" - use GetFileAttributesW() instead of _stat()
2021-03-21Remove unnecessary system includes from public headersAlbrecht Schlosser
Add includes of system headers in the implementation files where necessary.
2021-03-15Fix Linux build with --enable-pangoAlbrecht Schlosser
2021-03-15Create class Fl_Cairo_Graphics_Driver.ManoloFLTK
That class is extracted from inside Fl_PostScript_Graphics_Driver and might become handy in the future.
2021-03-15Class Fl_PostScript_Graphics_Driver: better separation of what varies with ↵ManoloFLTK
USE_PANGO
2021-03-13Fix fl_endpoints() for macOS platform that was not effective.ManoloFLTK
2021-03-13Fast pango (#201)ManoloFLTK
* Cache single unicode character widths under Xft+Pango
2021-03-11Unification of scaled coordinate calculations in class ↵ManoloFLTK
Fl_Scalable_Graphics_Driver Most coordinate calculations are done with the new inline function int Fl_Scalable_Graphics_Driver::floor(int coord) that is used by both the Windows and X11 platforms.
2021-03-02Windows platform: accurate drawing area of RGB images with scaled GUI.ManoloFLTK
2021-03-02X11 platform: Accurately control RGB image drawing with GUI scaling.ManoloFLTK
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd.ManoloFLTK
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver.ManoloFLTK
2021-03-01Remove warnings about hidden virtual member functions.ManoloFLTK
2021-02-27Rename fl_remove_scale() to fl_override_scale() as discussed in fltk.generalManoloFLTK
Re: Can custom box type functions handle their own high-DPI screen scaling?
2021-02-25Add fl_remove_scale()/fl_restore_scale() to transiently draw without scaling ↵ManoloFLTK
factor. This new API is a response to this message in fltk.general : Can custom box type functions handle their own high-DPI screen scaling?
2021-02-24Improve precision of GUI scaling for Windows platform.ManoloFLTK
2021-02-22Simplify source code of Fl_GDI_Graphics_Driver::draw_rgb(Fl_RGB_Image *,…)ManoloFLTK
2021-02-21Remove VS compilation warnings about implicit type conversions.ManoloFLTK
2021-02-21Remove VS compilation warning messages about implicit type conversions.ManoloFLTK
2021-02-21Fix for issue #192: focus box drawing incorrectly on OSX (e.g. 10.10.5) at ↵ManoloFLTK
scales >100%
2021-02-21Fix #include statements, remove unnecessary includesAlbrecht Schlosser
2021-02-19Remove use of static global var gl_fontsize inside virtual member ↵ManoloFLTK
Fl_Gl_Window_Driver::alpha_mask_for_string()
2021-02-18Remove #include ".../config_lib.h" from remaining sourcesAlbrecht Schlosser
... except src/Fl.cxx Fl.cxx uses the FL_CFG_* macros to define the values of runtime configuration options. This is now the only usage of config_lib.h. Todo: we can probably implement these runtime config vars in another way and finally remove config_lib.h.
2021-02-18Make clear we're calling a member function of class Fl_WinAPI_System_Driver.ManoloFLTK
2021-02-16Remove FL_CFG_SYS_POSIX and FL_CFG_SYS_WIN32 preprocessor vars from Fl_lock.cxxManoloFLTK
2021-02-16Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Tree_Prefs.cxxManoloFLTK
2021-02-16Remove FL_CFG_SYS_POSIX preprocessor variable from fl_open_uri.cxxManoloFLTK
2021-02-16Remove FL_CFG_WIN_COCOA preprocessor variable from Fl_Sys_Menu_Bar.cxxManoloFLTK
2021-02-16Remove FL_CFG_WIN_X11 preprocessor variable from Fl_own_colormap.cxxManoloFLTK
2021-02-16Fix whitespace errors (no code changes)Albrecht Schlosser
- remove trailing whitespace - convert tabs to spaces (configure.ac)
2021-02-16Remove FL_CFG_SYS_WIN32 preprocessor variable from fl_draw_pixmap.cxxManoloFLTK
2021-02-16Include <config.h> when possible - continued.ManoloFLTK
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