summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-02-27Remove config_lib.h and runtime configuration infoAlbrecht Schlosser
... as discussed in fltk.coredev.
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-25Fix Doxygen docs (unescaped '$')Albrecht Schlosser
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-18Update dependenciesAlbrecht Schlosser
2021-02-18Remove redundant definition of FL_CFG_GFX_OPENGLAlbrecht Schlosser
2021-02-18Make clear we're calling a member function of class Fl_WinAPI_System_Driver.ManoloFLTK
2021-02-17Documentation: remove Doxygen warnings of undeclared members.ManoloFLTK
2021-02-17Include config.h rather than config_lib.h in fl_open_uri.cxxManoloFLTK
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_get_key.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-16Include <config.h> in Fl_Gl_Window.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-16Fix lowercase error in filenames.ManoloFLTK
2021-02-16Remove FL_CFG_WIN_X11 preprocessor variable from Fl_Native_File_Chooser_GTK.cxxManoloFLTK
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-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