summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-26Improve methods Fl_Wayland_Screen_Driver::en/disable_im()ManoloFLTK
2023-03-26Implement methods Fl_Wayland_Screen_Driver::en/disable_im()ManoloFLTK
2023-03-25Wayland: remove compilation warning (#706) - cont'dAlbrecht Schlosser
The previous attempt to fix this issue in commit dcb4c39956092b6a4b9d8e0e85c2065099804119 missed to remove the keyword 'struct' in the offending statement. This new commit actually removes the compiler warning.
2023-03-25configure: test jpeg lib before png and zlibAlbrecht Schlosser
For some obscure reason finding the jpeg lib *after* configuring for local zlib and/or local png lib failed and thus switched to using the local jpeg unexpectedly. Searching for jpeg libs before png/zlib fixes this issue. Note: this is a pragmatic fix (aka workaround) rather than fixing the underlying issue. It would be interesting to find out why this happened.
2023-03-25Wayland: slightly simpler writing of function wl_keyboard_key()ManoloFLTK
2023-03-25Add Fl_Cairo_Graphics_Driver::focus_rect() overrideManoloFLTK
This allows to bypass what looks like a Cairo bug: FLTK_SCALING_FACTOR=1.7 bin/test/tabs click on tab2 ---> crash But no crash with other scaling factor values (e.g., 1.8).
2023-03-25Wayland: Fl::get_key(c) for lower case letters different behavior from X11 ↵ManoloFLTK
(#404)
2023-03-25More accurate documentation of function fl_wl_cairo()ManoloFLTK
2023-03-24Wayland Fl_Copy_Surface and Fl::copy() issues (#707) - cont'dManoloFLTK
2023-03-24Fix: Wayland backend draws everything two or three times (#708)ManoloFLTK
2023-03-23Wayland: remove compilation warning (#706)ManoloFLTK
drivers/Wayland/Fl_Wayland_Window_Driver.cxx:1515:47: warning: declaration ‘struct wld_window::custom_cursor’ does not declare anything
2023-03-23Improve Fl_Cairo_Window documentation (typos + indentation)Albrecht Schlosser
Also fix a doxygen warning in Fl_String.
2023-03-22Remove extraneous Wayland-related comment from Windows codeManoloFLTK
2023-03-22Fix option CAIRO_EXT in combination with X11 on macOSAlbrecht Schlosser
This modification became necessary since "__APPLE__" is no longer undefined by the build system when X11 is used on macOS.
2023-03-22Fix test/demo for X11 on macOS (e.g. XQuartz)Albrecht Schlosser
This modification became necessary since "__APPLE__" is no longer undefined by the build system when X11 is used on macOS.
2023-03-22CMake: check for presence of needed Wayland protocol source filesManoloFLTK
2023-03-21osissues.dox: add "The Wayland/X11 hybrid library"ManoloFLTK
2023-03-20Add documentation of 0S-specific fl_mac_gc()ManoloFLTK
2023-03-20Wayland: attempt to improve registry_handle_global_remove()ManoloFLTK
This function still needs to be tested on a true multi-display Unix box
2023-03-20Simulate one display for OWL Wayland compositorManoloFLTK
2023-03-19Fix and consolidate settings dialogs (#346, #703)Matthias Melcher
2023-03-18Fix gl_rect and OGL::fl_point #688Matthias Melcher
2023-03-18Fix and update alignment #346 (#701)Matthias Melcher
* interactive layout alignment rewritten * interface for new alignment rules * new alignment dialog box * user defined layout rules added * layout rules can be stored in projects, settings, and external files * Valgrind verification
2023-03-16Rename bool variable for better clarityManoloFLTK
2023-03-15Protect GL_SILENCE_DEPRECATION from re-definition.Rob McDonald
2023-03-14Cairo: introduce Fl::cairo_flush() in FLTK APIAlbrecht Schlosser
Flushing the Cairo context is necessary on Windows to make Cairo drawings appear on the device (screen). This new method makes it easy for user code to do this correctly after using Cairo drawings. - add Fl::cairo_flush(cairo_t *) - document Fl::cairo_flush(cairo_t *) - reformat Cairo doxygen docs and code (partially) - use the new method in Fl_Cairo_Window - use the new method in test/cairo_test.cxx - other minor (text) changes in test/cairo_test.cxx - add test/cairo_test to the demo menu (test/demo.menu)
2023-03-14Fix Fl_Wayland_Screen_Driver::get_mouse() for scale factor effectManoloFLTK
2023-03-14Wayland: add support for multiple high or low DPI displays - cont'dManoloFLTK
2023-03-14Wayland: improve cursor_surface_enter()ManoloFLTK
2023-03-13Fix Fl_Wayland_Window_Driver::set_cursor_4args()ManoloFLTK
2023-03-13Remove unused variableManoloFLTK
2023-03-13Wayland.dox: document recent changes about custom cursorsManoloFLTK
2023-03-13Wayland: add support for multiple high or low DPI displaysManoloFLTK
2023-03-12Simplify the previous Cairo drawing fix (#694)Albrecht Schlosser
The Cairo context 'cc' should be used directly rather than calling 'Fl::cairo_cc()' again. Sorry for the noise.
2023-03-12Fix Cairo drawing in test/cairo_test demo for Windows (#694)Albrecht Schlosser
On the Windows platform Cairo drawings must be flushed explicitly. This is done in Fl_Cairo_Window after calling the draw callback but it was neither done nor documented in test/cairo_test.cxx when using another type of Window with its overloaded draw() method, i.e. when FLTK was configured with --enable-cairoext or CMake OPTION_CAIROEXT. Note: user code must either explicitly flush the Cairo drawings as done here or destroy the Cairo context which is not done in this demo because the Cairo context should be kept alive.
2023-03-10Fix c'tor of Fl_Wayland_Image_Surface_Driver for HighDPI displaysManoloFLTK
2023-03-10Improve member function Fl_Wayland_Gl_Window_Driver::make_current_before()ManoloFLTK
2023-03-09Fix dependencies, typos, trailing whitespace, and formattingAlbrecht Schlosser
No code changes.
2023-03-09Remove Doxygen warning about incorrect #include directiveManoloFLTK
2023-03-09Remove warnings when fl_attr.h is compiled in CManoloFLTK
2023-03-09Fix Visual Studio (MSVC) compiler warningsAlbrecht Schlosser
2023-03-09Fix gl_overlay under WaylandManoloFLTK
2023-03-09CMake: build shared libs with OPTION_CAIROEXT (issue #250)Albrecht Schlosser
- remove separate libfltk_cairo to avoid cyclic dependencies, but - keep a dummy libfltk_cairo in 1.4.0 for backwards compatibility - move cairo/Fl_Cairo.cxx to src/Fl_Cairo.cxx - add preliminary Cairo support for Visual Studio (MSVC) Static linking is not affected by this change, but users building with hand-made Makefiles will have to remove libfltk_cairo starting with FLTK 1.4.0. The dummy library can be linked for backwards compatibility but it will be removed later (in 1.4.x or 1.5.0). The shared FLTK library libfltk.{so|dylib|dll|..} depends on libcairo if and only if FLTK is built with one of the Cairo options. This has always been the case for OPTION_CAIROEXT but is now also true if only OPTION_CAIRO is selected, i.e. FLTK programs linked with a Cairo enabled shared FLTK library will also be linked with libcairo. The same is true for configure options --enable-cairo and --enable-cairoext, respectively. Preliminary Cairo support for MSVC now detects a Cairo installation using the CMake variable FLTK_CAIRO_DIR which must be set by the user. Note that this feature is temporary and may be changed in the future for a better and more comfortable version.
2023-03-09Fix Fl_Wayland_Screen_Driver::x() and friendsManoloFLTK
2023-03-08Wayland.dox: more details about window positioningManoloFLTK
2023-03-08Remove useless repetition from array dead_keys[]ManoloFLTK
2023-03-08Fix: Shift-Tab not "reverse navigating" on some platforms (#696)ManoloFLTK
2023-03-07Fix typo in Wayland Doxygen docManoloFLTK
2023-03-06DnD of filenames: make Wayland behave as Windows and macOSManoloFLTK
and also add more detailed documentation of platform-specific behaviors.
2023-03-05Wayland: improve DnD of filenames to allow space-containing namesManoloFLTK