summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 'configure --enable-pango'Albrecht Schlosser
Also change 'pango' to 'Pango' consistently in warning and error messages.
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-15Issue #109 contd: missed fractals.cxx fixes, also fix parens issue.Greg Ercolano
Missed mods to fractals.cxx. Also fixed a parens issue Albrecht noticed on the Mac build.
2021-02-15Solve all 'fractals' warnings in VS2017/Win32 for issue #109.Greg Ercolano
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-15fix autoconf and MakefileAlbrecht Schlosser
do not delete config.sub and config.guess todo: remove misc/config.{sub|guess} ?
2021-02-14Update GHA build scripts for Linux, macOS, and Windows.Michael R Sweet
2021-02-14Initial Github Action for CI buildsMichael R Sweet
2021-02-13Finish first pass of modernizing autoconf source file.Michael R Sweet
2021-02-13Save work.Michael R Sweet
2021-02-13Add autoconf cross-compilation support files.Michael R Sweet
2021-02-13Save work on configure.ac modernization.Michael R Sweet
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-12Fix comments and documentationAlbrecht 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-10Fix output and screen_num() in handle_events demoAlbrecht Schlosser
Output was incorrect, partly to stdout and stderr, resp. As Manolo noted in fltk.general, Fl_Window::screen_num() is the correct API to retrieve the screen number of a window rather than Fl::screen_num(...).
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-08Add event handling test and demo programAlbrecht Schlosser
This is intended to be used as (a) an example of event handling and (b) a test program to visualize many event related variables This first version is compatible with FLTK 1.3.x but lacks the screen scaling factor under 1.3.x (which is always assumed to be 100%). Note: this does not reflect any system or monitor related settings.
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-29Make Fl_Gl_Window::gl_driver() private (#184)Albrecht Schlosser
The driver stuff should be private. The only usage I found was in class _Fl_Gl_Overlay which is now a 'friend class'.
2021-01-29Remove debug output from test/fullscreen demoAlbrecht Schlosser
Output statements commented out and modified to go to stderr if used.
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-13Remove "Figure x.y: " from html image captionsAlbrecht Schlosser
... as discussed in fltk.coredev for easier maintenance. Also edit some minor issues.
2021-01-13Documentation: enhance chapter "FLTK Basics"Albrecht Schlosser
basics.dox: Some minor edits, clarifications and reordering for better readability. drawing.dox: minor edits, remove "Figure x.y:" etc. (to be continued) enumerations.dox: change chapter title
2021-01-13Update test/hello.cxx and related imageAlbrecht Schlosser
Improve CMP compatibility and use a better (anti-aliased) image for the docs.
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-13Merge pull request #175 from ComputerNerd/wrong-err-fixerco77
[FLTK 1.4] Fix the errmsg for the native file chooser. We should be using exterr instead of err which is always zero.
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-02Remove build-time warning.ManoloFLTK
The warning message was: Makefile:318: warning: ignoring prerequisites on suffix rule definition
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-12-01Travis-CI: simplify config, disable macOS build (temp.)Albrecht Schlosser
Note: macOS builds will be re-enabled when the Travis-CI "Credits" issue is resolved.
2020-12-01Travis-CI: disable macOS and documentation buildsAlbrecht Schlosser
Temporarily disable unnecessary builds for trouble shooting with Travis-CI support (no Credits)