summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-11-17Fix "Cairo: Scaled images draw with wrong size" (#537)ManoloFLTK
2022-11-16Fix whitespace errors and dependenciesAlbrecht Schlosser
(no code changes)
2022-11-15Add support of .svgz image files to fluidManoloFLTK
The prototype of the public Fl_SVG_Image constructor is expanded to allow construction from in-memory, gzip'ed binary data.
2022-11-14Fix yet another Visual Studio compiler warningAlbrecht Schlosser
2022-11-12Removed FIXME comment that was already solved.Matthias Melcher
2022-11-11Fix Visual Studio compiler warningsAlbrecht Schlosser
2022-11-11Remove redundant doxygen docs of fl_beep()Albrecht Schlosser
Also add a comment to all platform driver implementations.
2022-11-11Improve and clarify documentation of fl_beep()Albrecht Schlosser
2022-11-09Wayland: remove unneeded friend declarationsManoloFLTK
2022-11-09Fixed uninitialised variable.Matthias Melcher
2022-11-08Wayland: improve processing of the -display command line argumentManoloFLTK
2022-11-08Wayland: show keyboard modifiers during mouse clicks (#534)ManoloFLTK
2022-11-08Wayland: cancel drag-n-drop after Fl::pushed(0) (#525)ManoloFLTK
2022-11-07Document Fl_Multiline_Output keynav and caret cursorGreg Ercolano
2022-11-07Removed an obsolete \warning.Greg Ercolano
2022-11-07Added empty(), ensure size() enlarges new vals = 0Greg Ercolano
2022-11-07Fix initialisation of hybrid Wayland/X11 platformManoloFLTK
Also, terminate Wayland drag-and-drop operation after Fl::pushed(0).
2022-11-07Remove Fl_X11_System_Driver.{H,o}ManoloFLTK
2022-11-07Delete src/drivers/X11/Fl_X11_System_Driver.*ManoloFLTK
2022-11-07Delete src/drivers/Wayland/Fl_Wayland_System_Driver.*ManoloFLTK
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-11-06Add doxygen docs for Fl_Int_Vector.Greg Ercolano
While adding the docs, noticed some things that need modification for proper public use. These are highlighted as \todo items and \warning items, which will be fixed in a separate commit forthcoming. -erco
2022-11-06Check for child visibility in Fl_Scroll (#432)DieSkaarj
Calculate scroll area only according to visible children. Note: "visible" means in this context: "not hidden" - as opposed to being invisible because the widget doesn't have a background and a label.
2022-11-06Fix Fl_Help_View <OL> numbers (Issue #153, STR 3290)Albrecht Schlosser
Started with @wcout's patch (see Issue #153, STR 3290), modified patch for CMP conformance, restructured methods, and finally: - used Fl_Int_Vector instead of 'fl_data_container' - removed fl_data_container Thanks for the working patch to @wcout.
2022-11-06Use the new Fl_Int_Vector class in Fl_TableAlbrecht Schlosser
Replace local IntVector with Fl_Int_Vector
2022-11-06Add Fl_Int_Vector: "an STL-ish vector without templates"Albrecht Schlosser
Code copied from Fl_Table and reformatted. Thanks to Greg for the original code.
2022-11-06Check return value from call to gtk_init_check()ManoloFLTK
2022-11-06Allow using native file chooser on Darwin + XQuartz + (homebrew or fink)ManoloFLTK
2022-11-05Wayland/X11 hybrid: use "bool fl_disable_wayland;" declaration.ManoloFLTK
2022-11-05Fix two rare potential bugs (NULL pointer dereferencing)Albrecht Schlosser
Both bugs can happen if a widget doesn't have an associated window() or in similar situations. These fixes returns NULL to prevent crashes. Bugs observed in special test scenarios, not real-life programs.
2022-11-05Wayland: simpler handling of the z-order of subwindowsManoloFLTK
It's not necessary to call wl_subsurface_place_above() because "A new sub-surface is initially added as the top-most in the stack of its siblings and parent."
2022-11-04Wayland DnD: make insertion cursor follow DnD cursor.ManoloFLTK
2022-11-04Wayland DnD: allow cancel with Fl::pushed(0) as under X11 (#525)ManoloFLTK
This is a partial fix of issue #525 that reproduces under Wayland the "unofficial", X11-specific way to cancel a Dnd operation by calling Fl::pushed(0).
2022-11-03Implement Fl_Scroll::on_insert()Albrecht Schlosser
This fixes the scrollbar order when children are inserted rather than at some indefinite time later, for instance in draw(). This commit will very likely make Fl_Scroll::fix_scrollbar_order() obsolete but this method is kept as is for tests and verification.
2022-11-03Implement destructor of Fl_Scroll and fix inconsistenciesAlbrecht Schlosser
2022-11-03libdecor: update from source git repo (commit e87dcfda)ManoloFLTK
This brings the GTK plugin inside the master libdecor git repo.
2022-11-01Added Fl_Group::on_insert/on_remove/on_move (#527)Matthias Melcher
2022-11-01Fix trailing whitespaceAlbrecht Schlosser
2022-11-01Remove unnecessary include files, update dependenciesAlbrecht Schlosser
2022-11-01Remove reversal of children in Fl_Group::clear()Albrecht Schlosser
See implementation note in src/Fl_Group.cxx: Fl_Group::clear().
2022-11-01Fluid support for Fl_Flex (#523) and some Fl_Flex improvementsMatthias Melcher
* Adding Fluid support for Fl_Flex, margins, and gap. * Fluid Fl_Flex mostly working. Fixed in Fl_Flex::set_size(). * Fluid Flex live mode works, interactive dragging works * Fluid Flex: adding check box for fixed children * Fluid Flex: visual flexibility indicator in guides. * Fluid Flex: bug in generated code. * Fix formatting * Fixing Tooltip, fixing resize issue PR #518. * Removing unused variables. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2022-10-30Wayland platform: fix problem with fl_pie() (#512 - cont'd)ManoloFLTK
2022-10-30Wayland platform: fix problem with fl_pie() (#512 - cont'd)ManoloFLTK
2022-10-28Fix removal and deletion of the resizable() of Fl_GroupAlbrecht Schlosser
If the resizable() of an Fl_Group is deleted it is automatically removed from the group. New: to avoid dangling resizable() pointers the resizable widget is set to the group itself.
2022-10-25Repair commit e0c3fe9 to fix #521 which destroyed DnD from WaylandManoloFLTK
It turns out it's necessary to memorize 2 event serial numbers : - serial changed at each pointer and key event; - pointer_enter_serial changed when pointer enters a surface because this one and not any other is needed for exact cursor changes by wl_pointer_set_cursor() in do_set_cursor().
2022-10-25Fix drag-n-drop from X11 FLTK app to Wayland app (#519)ManoloFLTK
2022-10-25Fix problem with cursor point of action after FL_PUSH (#521)ManoloFLTK
2022-10-24Include stdint.h may be needed for uint32_t (#522)ManoloFLTK
2022-10-23Make Fl::display(const char *) active also for the Wayland platform.ManoloFLTK
2022-10-20Improve and clarify documentation of timeout functionsAlbrecht Schlosser
Some functions didn't document the handling of arguments properly, particularly Fl::has_timeout() and Fl::remove_timeout(). This is now fixed by documenting the correct behavior that was preserved (re-implemented) from FLTK 1.3.x in the new class Fl_Timeout. Unfortunately there have been some inconsistencies (likely unexpected behavior) which have been preserved and which are now documented.