summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-11-23Keep indicator that menubar is still active (#551)Matthias Melcher
2022-11-23Improve Fl_Cocoa_Gl_Window_Driver::switch_to_GL1() to support multiple GL3 ↵ManoloFLTK
windows
2022-11-23Add missing FL_RELEASE event after dnd() (#549)Matthias Melcher
On X11, FLTK would not send a required FL_RELEASE event to the data source window.
2022-11-23Fix for issue #412 for the Wayland backendManoloFLTK
The problem was that after a drag-n-drop within a window, text selection by shift+arrow key stopped working. Also, improves drag-n-drop within a window by leaving insertion point at end of dragged text.
2022-11-23Wayland+CMake: stop forcing GTK_FOUND to 0ManoloFLTK
This removes the cause of this developer's message # FIXME: This needs to be redesigned! Forcing GTK_FOUND to 0 (NO) is a bad # FIXME: idea because there could be unwanted side effects. AlbrechtS
2022-11-22Update dependenciesAlbrecht Schlosser
2022-11-22Refactor and simplify "arrow drawing" in widgetsAlbrecht Schlosser
"Arrows" in widgets are those GUI elements mostly represented by triangles pointing in a particular direction as in scrollbars, choice widgets, some menus, valuators and Fl_Counter widgets. The code has been simplified and standardized such that all these GUI elements are drawn identically per FLTK scheme. Widget authors no longer need to write code to calculate arrow sizes and draw polygons etc. Different schemes can and do implement different drawing functions. Todo: see comments "FIXME_ARROW" in src/Fl_Menu_Button.cxx and src/Fl_Menu.cxx
2022-11-22macOS: Fix release of extra NSView holding child widgets of GL windowManoloFLTK
2022-11-22Fix selection extension in Fl_Text_*, issue 196 (#550)Matthias Melcher
Selecting a text range programmatically would not sync some variables with the actual selection. This also fixes a crash bug in macOS when dragging text that was selected by buffer()->select() only.
2022-11-20Fix Fl_Group::insert() and Fl_Scroll::on_move()Albrecht Schlosser
2022-11-20Replace #if FLTK_USE_X11 by #ifdef FLTK_USE_X11ManoloFLTK
2022-11-18CMake+Wayland: check for presence of required software modulesManoloFLTK
Also, remove hardcoded path to wayland-protocols when CMake version ≥ 3.4
2022-11-17Fix rearranging children in Fl_Scroll (#546)Matthias Melcher
Implement Fl_Scroll::on_move() Fix indexing in Fl_Group::on_move()
2022-11-17Remove development stage "Using Wayland backend" messageManoloFLTK
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.