summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-06-26Fixes to Fl_Choice provided by Albrecht (#978)Greg Ercolano
This addresses some border case issues in Fl_Choice wrt erco's recent Fl_Input_Choice modifications. As Albrecht writes in issue #978: - The width of the (simulated) menu button in Fl_Choice is shrunk if the height of the widget is lower than 20 for some schemes. This (a) is inconsistent, (b) doesn't look good, and (c) doesn't match the better layout of the Fl_Input_Choice widget after your patch. - The constant height (+/- 8) of the divider line in some schemes would overlap the border of the widget if the widget's height is smaller than about 19. You fixed this in your patch and I "stole" your [erco's] fix for Fl_Choice. - The divider line and the box borders of Fl_Choice and Fl_Input_Choice didn't align properly. I fixed this in my Fl_Choice patch as well (IMHO this is the right place to fix it).
2024-06-26Fix Fl_Input_Choice vs Fl_Choice drawing issues (#978)Greg Ercolano
Differences in size of arrows and overall look varies with different schemes applied for issue raised by Philip Rose first on fltk.general: Subject: Discrepancy between Fl_Choice and Fl_Input_Choice
2024-06-25Navigation in menubar: wrap around when using arrow past end or start of ↵ManoloFLTK
menubar. Fix some border cases.
2024-06-24Navigation in menubar: wrap around when using arrow past end or start of ↵ManoloFLTK
menubar. See "Menu navigation in FLTK is different from Ubuntu X11 navigation" in fltk.general. Menubar wrapping is what macOS and gnome applications do.
2024-06-24Wayland: account for old versions of the GTK shell protocol - cont'dManoloFLTK
Not easy to get it right in absence of any documentation for "GTK Shell" protocol.
2024-06-24Wayland: account for old versions of the GTK shell protocol - cont'dManoloFLTK
2024-06-23Wayland: account for old versions of the GTK shell protocolManoloFLTK
2024-06-23Derive Fl_File_Chooser.cxx from Fl_File_Chooser.flManoloFLTK
2024-06-23Remove in Fl_File_Chooser.fl max size values from Fl_Window::size_range() callManoloFLTK
Such max values must be checked to be larger than min values, else error may occur.
2024-06-23Wayland: stop key repeats when focus leaves a windowManoloFLTK
2024-06-22Wayland: use serial rather than time argument of wl_keyboard_key() to ↵ManoloFLTK
support key repeats
2024-06-22Fix typo reported in fltk.generalAlbrecht Schlosser
... by Brian Larsen
2024-06-21Update dependenciesAlbrecht Schlosser
2024-06-21Remove trailing whitespaceAlbrecht Schlosser
no code changes
2024-06-21Fix compiler warning on macOS: remove unused variableAlbrecht Schlosser
2024-06-21Fix Wayland memory leak (#991)Albrecht Schlosser
2024-06-21Add Fl::remove_next_timeout(...) to remove only one timeout (#992)Albrecht Schlosser
This method also returns the data pointer of the removed timeout. This new method is generally useful for user code and particularly necessary to fix issue #991. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2024-06-21macOS: fix changes to Fl_X::first with front windowManoloFLTK
2024-06-19 Avoid ScreenCaptureKit bug that may modify a non-resizable window's ↵ManoloFLTK
styleMask
2024-06-17Wayland: capture window titlebar as depth-4 imageManoloFLTK
2024-06-16Fix "Under Ubuntu 22.04 any FLTK application appears in the Appmenu as 'FLTK'"ManoloFLTK
2024-06-16Link frameworks used by recent macOS versions with -weak_frameworkManoloFLTK
This allows FLTK apps to use the recent frameworks when they run on recent macOS versions even if the minimum supported macOS version of these apps is more ancient than the framework.
2024-06-15Improve Fl::option documentation.Matthias Melcher
2024-06-15X11: update XDND protocol from version 4 to 5 (#988)Albrecht Schlosser
Some applications insist on sending XDND protocol version 5 and rejected (ignored) FLTK as DND receiver because we allowed only protocol version 4. Known apps: Google Chrome and Chromium. This commit enables XDND protocol version 5 in FLTK programs as DND receiver.
2024-06-14macOS 15.0 Sequoia: fix capture of window titlebarsManoloFLTK
The previous procedure using CGWindowListCreateImageFromArray() is obsoleted in macOS 15.0 . The new procedure requires an additional framework: ScreenCaptureKit; FLTK uses it only for macOS ≥ 15.0
2024-06-11Fix crash in howto-drag-and-drop under macOSManoloFLTK
2024-06-11Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
2024-06-09 Fix: Changing default color palette affects opengl child drawing on Wayland ↵ManoloFLTK
(#989)
2024-06-08Wayland: support DnD from X11-FLTK to Wayland-FLTKManoloFLTK
2024-06-04Wayland: add necessary calls to gtk_surface1_release()ManoloFLTK
2024-06-03macOS: remove use of deprecated [NSBox setBorderType:] methodManoloFLTK
2024-06-03Document how to control window location in screen under WaylandManoloFLTK
2024-06-03Wayland: fix interactive moving and resizing of a subwindow (#987)ManoloFLTK
2024-06-02 Fix Child Windows under Wayland are clipped on resizing … (#987)ManoloFLTK
2024-06-01 Fix: Zero-sized borderless window causes high cpu usage on windows (#985)ManoloFLTK
2024-06-01libdecor: update to upstream commit c2bd8ad6 (31-may-2024)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window - cont'd (#983)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window (#983)ManoloFLTK
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-26Adding new call `Fl_Window::get_size_range()`, #981Matthias Melcher
2024-05-26Revert InputChoice from fd791a0Matthias Melcher
A change to Fl_Input_Choice callbacks slipped into fd791a068e39e06785adc44693f4c533d3d6c903. This Commit removes that change. It may need to be fixed and reapplied later in its own Commit.
2024-05-24Control screen used by Fl_Menu_Bar::play_menu() - cont'dManoloFLTK
2024-05-24Fix: Fl_Browser unexpected display of empty lines ("@." vs "") (#979)ManoloFLTK
2024-05-23Control screen used by Fl_Menu_Bar::play_menu()ManoloFLTK
2024-05-21More details about handling modal windows and various gnome versionsManoloFLTK
2024-05-20Wayland: don't call gtk_surface1_release() probably not usefulManoloFLTK
Also, add comment about when call to gtk_surface1_set_modal() is useful or useless but harmless.
2024-05-20Fix "Support building with unusual prefix" (STR 3434)Albrecht Schlosser
Add '$(LDFLAGS)' to build commands for libs, for details see STR 3434. This applies to configure/make only, CMake builds are not affected.
2024-05-19Wayland: accept diverse versions of the GTK Shell protocolManoloFLTK
2024-05-18Slightly reorganize code of Fl_MacOS_Sys_Menu_Bar_Driver::play_menu()ManoloFLTK
2024-05-17Improve fl_contrast() functionality and documentationAlbrecht Schlosser
- swap 3rd and 4th parameter of fl_contrast() - change 'Fl_Fontsize fs' to a neutral 'int size' parameter - clarify documentation of fl_contrast_level() and that different contrast algorithms use different level values - clarify that level 39 for the CIELAB mode results in "sufficient" contrast, i.e. /readable/ text which is the only intention of fl_contrast(). Reasoning: swapping the arguments looks more natural, i.e. the context before another argument (size) is what one would usually expect. Since the 'size' argument doesn't have be a font size, making it a simple 'int size' is more flexible and correct for future extensions.