summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-10-06Submenus with no callback enter their submenu instead of closing the whole ↵dannye
menu (#1043) Thanks for those nice changes.
2024-10-06Support mouse buttons 4 + 5 (aka "side buttons") (#1076, #1068)Albrecht Schlosser
This work is based on PR 1068 (patch by @CendioHalim) and extended to store button status (4,5) in Fl::event_state() like it's done for other mouse buttons (1-3). Changes: - new symbol: FL_BUTTON4 = side button 1 = "back" - new symbol: FL_BUTTON5 = side button 2 = "forward" - modified : FL_BUTTONS now includes bits for two side buttons Note: the status of these new buttons is not maintained by X11, therefore we need to maintain them in internal variables for this platform.
2024-10-06Apply `scaling-shortcut-kludge.patch` for WindowsAlbrecht Schlosser
... as proposed by Manolo in a private mail. This patch allows to detect "ctrl+'-' on keyboards with digits in uppercase positions (e.g. French)" but this is only preliminary for FLTK 1.4.0. Windows keyboard handling should be revised in FLTK 1.5.0 or higher.
2024-10-06Update comment, sorry for the noiseAlbrecht Schlosser
2024-10-06Add comments regarding X11 keyboard layout handlingAlbrecht Schlosser
This commit doesn't change the code flow although the code has been slightly refactored.
2024-10-06Fl_Text_Display: Fix text selection off-by-one bug (#1080)Andrew Fuller
This seems to have been left over from when mouse text selection would start a text selection on the left side of the character and always extend the selection to include the character under the cursor. We now perform text selection based on whether the selection spans across the horizontal center of a character and so this next_char() causes the endpoint of the selection to be incorrectly shifted to the right.
2024-10-04Add necessary dirty indicatorManoloFLTK
2024-10-04macOS fix for "Fl_Window::cursor(...) does not work reliably on some ↵ManoloFLTK
platforms" (#1082)
2024-09-28Fix bug in Fl_Text_Display when tab is followed by multibyte charAndrew Fuller
When the user clicks the right half of a tab, we add 1 (the byte len of the tab) to obtain the starting index of the following character.
2024-09-25Fix issue about Fl_Tabs and maximizing window under Windows (#1075)ManoloFLTK
2024-09-14Bypass Mutter bug for menubar in fullscreen window (see #1061)ManoloFLTK
2024-09-13Fix "Wayland crash on mapping windows at startup" (#1072)ManoloFLTK
2024-09-13Fix problems introduced at commits 9b777cc and d70c79bManoloFLTK
2024-09-12Fix typo in Doxygen text: unod --> undoManoloFLTK
2024-09-11Fix "fl_read_image() missing right and bottom pixel line" (#1066)ManoloFLTK
2024-09-10Wayland + Mutter: fix issue with menubar on fullscreen window (#1061)ManoloFLTK
2024-09-09Wayland: one more fix yet for interactive move of subwindow inside parentManoloFLTK
2024-09-07Add support of GL with Wayland for Linux on Apple hardwareManoloFLTK
2024-09-07Add pointer to Fl_Image::scale() to documentation of Fl_Image::copy(int, int)ManoloFLTK
2024-09-04Fixes menu scrolling for secondary screens (#1060)Matthias Melcher
- huge menus would scroll down when the mouse pointer hit position 0, but for some secondary screens, the top edge is not at y==0, so now we check for a range a the top border of the working space of the screen showing the menu.
2024-09-04Fixes menubar glitch when mouse is at y==0 (#1060)Matthias Melcher
2024-09-02Reverting false Ctrl Key fix on WindowsMatthias Melcher
- 1ae43956e2bfb933d63fc774ca8e4ed22e4108dd
2024-09-01Cairo image drawing improvementsMatthias Melcher
2024-08-31Fixing set_font and image overflow for Cairo.Matthias Melcher
2024-08-28Removing wrongfully commited code.Matthias Melcher
2024-08-28Fix return values of Fl_Printer::begin_job() with GTK dialogsManoloFLTK
2024-08-28Fix Doxygen problems with fl_draw() functions.ManoloFLTK
2024-08-27Restore building with option FLTK_USE_POLLManoloFLTK
2024-08-27Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052)ManoloFLTK
2024-08-27Adding horiizonatl and vertical label marginMatthias Melcher
- sizeof(Fl_Widget) not increased - label positions can be adjusted - try it out in test/label app - full support in FLUD
2024-08-27Update comment.Matthias Melcher
2024-08-26Fix for artefact in X11 1-pixel thick rect drawing with some drivers (#156, ↵ManoloFLTK
#1052)
2024-08-26Implement and document Fl::add_system_handler() for WaylandManoloFLTK
2024-08-26Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052)ManoloFLTK
2024-08-25Document that Fl::add_system_handler() is not implemented under WaylandManoloFLTK
2024-08-25Fix Fl_Wayland_Screen_Driver::compose() to handle the FL_Alt_Gr keyManoloFLTK
2024-08-23Quick fix for Window Ctrl charcter handling.Matthias Melcher
This is needed to allow platform compatibel e_text and e_length, but a lot more work ist needed to unify keyboard handling
2024-08-18Ducumentation fix for previous commitMatthias Melcher
2024-08-18Fix fl_overlay_rect smearing on macOS (#735)Matthias Melcher
If fl_overlay_rect crosses window bounds, reading the window contents would fail and restoring the contents would fail, generating a smear effect.
2024-08-14Fix Doxygen typos in fl_draw() documentationManoloFLTK
2024-08-14Adding image support for angraved and shadow label typesMatthias Melcher
2024-08-14Adding Fl_Widget::label_image_spacing() (#1039)Matthias Melcher
- May need a better method name. - This makes the gap between the image in a label and the label text user settable. - Can be tested using test/label app
2024-08-14Adding gap parameter to fl_draw(...)Matthias Melcher
This allows the user to define the spacing between a possible imge and the text.
2024-08-13Improved documentation for fl_draw()Matthias Melcher
There are no code changes in this commit, only added documentation and improved formatting.
2024-08-12Small doc fixes (\See -> \see)Greg Ercolano
2024-08-12Improve handling of malformed ANSI. (#950)Greg Ercolano
2024-08-12Further accelerating Fl_Text_Display (#596)Matthias Melcher
This commit adds lazy evaluation for the wrapped line calculation, making scrolling much more interactive.
2024-08-11Adding Fl_Input comments.Matthias Melcher
2024-08-10Remove "struct Fl_XColor" from list of documented classesManoloFLTK
2024-08-10Fix tabs, trailing spaces, and update dependenciesAlbrecht Schlosser