summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-22CMake: check for presence of needed Wayland protocol source filesManoloFLTK
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-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-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: add support for multiple high or low DPI displaysManoloFLTK
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-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-08Remove useless repetition from array dead_keys[]ManoloFLTK
2023-03-08Fix: Shift-Tab not "reverse navigating" on some platforms (#696)ManoloFLTK
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
2023-03-04Simpler use of member variable wl_registry in class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-03Remove unused variable declaration + fix in wayland.doxManoloFLTK
2023-03-03Reorder members of class Fl_Wayland_Screen_DriverManoloFLTK
2023-03-03Improve Fl_Wayland_Window_Driver::wld_scale()ManoloFLTK
2023-03-02Fix typos in Doxygen documentationManoloFLTK
2023-03-02Add Fl_Wayland_Window_Driver::wld_scale() member functionManoloFLTK
2023-03-01Improved Fl_String capacity incrementsMatthias Melcher
2023-02-27Fix malloc/delete mismatchMatthias Melcher
2023-02-25Add Fl_String to Fl_Preferences (#687)Matthias Melcher
2023-02-24Derive internal Fl_Help_View buffer from Fl_StringAlbrecht Schlosser
Refactor the internal class HV_Edit_Buffer by deriving it from the the recently extended Fl_String class. The class HV_Edit_Buffer still needs some "special" methods but the code could be simplified substantially.
2023-02-23Fl_String refactoring and extension (#683)Matthias Melcher
- add true unittest and Fl_String testing - interface and printout are similar to gtest without requiring external linkage. just run `unittest --core`. - new Fl_String API - extended API to fl_input_str and fl_password_str - co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2023-02-21Silence false positive gcc warning (#682)Albrecht Schlosser
... and fix a typo. This warning was reported for gcc 12.2 (MinGW-w64 / MSYS2) but may have appeared in earlier gcc versions (gcc 9.4 is not affected). It's very likely that this warning needs '-O2' or '-O3' to be issued.
2023-02-20Add GLUT_ELAPSED_TIME simulationMatthias Melcher
2023-02-20Remove 2 compilation warnings under Windows with mingw64ManoloFLTK
Compiling Fl_Native_File_Chooser_WIN32.cxx... fl_dnd_win32.cxx:436:11: warning: private field 'm_EnumF' is not used [-Wunused-private-field] FLEnum *m_EnumF; ^ 1 warning generated. Fl_Native_File_Chooser_WIN32.cxx:378:19: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] bool unixpath = IsUnixPath(_directory) | IsUnixPath(_preset_file); // caller uses unix paths? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || Fl_Native_File_Chooser_WIN32.cxx:378:19: note: cast one or both operands to int to silence this warning 1 warning generated.
2023-02-19Rename fd_callback() to wayland_socket_callback()ManoloFLTK
2023-02-17Remove special FL_CURSOR_NONE implementation in WaylandManoloFLTK
2023-02-17Wayland: improve and document support of FL_CURSOR_NONEManoloFLTK
2023-02-15Wayland: new struct wl_cursor *custom_cursor member variableManoloFLTK
2023-02-15Move class Fl_Shortcut_Button from FLUID to core (#677) (#680)Matthias Melcher
2023-02-15Wayland: allow Fl_Window::cursor(Fl_Cursor) for whole windowManoloFLTK
2023-02-15Wayland: add support of Fl_Window::default_cursor(Fl_Cursor)ManoloFLTK