summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-10Fix tabs, trailing spaces, and update dependenciesAlbrecht Schlosser
2024-08-10Revert quoting variables in fltk-config.in partiallyAlbrecht Schlosser
Fix regression: commit b83a6abe01664245a2319c58b02063ba924fe912 broke `fltk-config --compile` even in the build folder and in folders not containing spaces. This commit partially reverts the above mentioned commit so `fltk-config` works as before. To do: fltk-config does not work if installed in a directory that contains spaces, check if this can be fixed.
2024-08-10Merge pull request #17 from mid-kid/patch-1Albrecht Schlosser
Quote variables that may contain spaces (#17)
2024-08-10Quote variables that may contain spaces in fltk-options/MakefileAlbrecht Schlosser
2024-08-10Configure/make: Quote variables that may contain spacesmid-kid
This allows installing FLTK to directories that contain spaces.
2024-08-10Fixed warning in Sudoku (unused variable)Matthias Melcher
2024-08-09CMake: add FLTKConfigVersion.cmakeAlbrecht Schlosser
This file enables consumers to search for a particular FLTK version.
2024-08-08Simplify test/handle_keys.cxx and remove commentsAlbrecht Schlosser
2024-08-08CMake: remove debug statementsAlbrecht Schlosser
2024-08-08CMake: fix usage of OPENGL_GLU_INCLUDE_DIR (#1001)Albrecht Schlosser
This commit consists of two parts: 1. CMake/resources.cmake: remove the old variable OPENGL_GLU_INCLUDE_DIR from the CMake cache if possible, otherwise enforce a clean build. 2. src/CMakeLists.txt, CMake/options.cmake: use the new variable name FLTK_OPENGL_GLU_INCLUDE_DIR. For details please see GitHub Issue #1001.
2024-08-06Add -lwinspool necessary for new class Fl_PDF_File_SurfaceManoloFLTK
2024-08-04Add Sudoku undo and redo.Matthias Melcher
2024-08-04Sudoku formatting, hint updates.Matthias Melcher
2024-08-04Fix Sudoku's use of Fl_Sys_Menu->parent().Matthias Melcher
2024-08-04Fixes Fl_Text_Editor Home and End keys in line wrap modeMatthias Melcher
Pressing Home would go to hard newline character, even in line wrap mode. It now stops at the soft newline, as expected. Same for End which now findes the wrapped line break instaead of the next '\n' character.
2024-08-04Fix testing of multi-label alt shortcuts (#974)dannye
* find_shortcut(): fix testing of multi-label alt shortcuts * Use static function instead of macro
2024-08-04Optimize Fl_Text_Display scrolling speed (#596).Matthias Melcher
2024-08-03Pulldown button size in Fl_Tag configurable with OV_BORDER now.Matthias Melcher
2024-08-03Fixes missing default argument in Fl_Fill_Dial constructor.Matthias Melcher
2024-08-03Fix indenting, add comments for clarityAlbrecht Schlosser
no operative code changes in this commit
2024-08-03Remove obsolete statement (#1033)Albrecht Schlosser
Thanks to @xuyun018 for finding this.
2024-08-03Improve visibility of selected tab in Fl_Tabs (#1032).Matthias Melcher
2024-08-03Fixes Fl_Tags close button and pulldown button color.Matthias Melcher
2024-08-03Better Fl_Tabs callback handling.Matthias Melcher
2024-08-02Fix Fl_Tabs callback in Overflow mode (#1031).Matthias Melcher
2024-08-01libdecor: prevent crash using bullt-in libdecor with GDK_BACKEND=x11 (#1029)ManoloFLTK
2024-07-31Enable setting a fixed font for 'wine' in test/handle_keys.cxxAlbrecht Schlosser
... w/o editing a file. The default font is "Liberation Mono". Just set environment variable FLTK_USING_WINE=1 to enable this feature. Rationale: on /my/ current test system the font chosen by `wine` for FL_COURIER is a proportional font whereas the display in Fl_Terminal requires a fixed font for correct output. Font "Liberation Mono" solves this long standing issue for me w/o having to change source code but other Linux systems may require a different font.
2024-07-29Add RMB pulldown menu to Fl_Help_View, #75Matthias Melcher
- append underscores to private varaibles per CMP - add public Fl_Help_View::copy() and Fl_Help_View::text_selected() - add public Fl_Help_View::copy_menu_text - fixes some of the focus handling - add pulldown menu to copy selected text
2024-07-29Add chapter in CMake docs for building FLTK under Windows WSL.Matthias Melcher
2024-07-28GDI: fix StretchBlt mode settingCyprinus Carpio
2024-07-28 Crash in macOS when switching fullscreen window between displays (#1022)ManoloFLTK
2024-07-28Remove useless #include directive from Fl_Window_Driver.HManoloFLTK
2024-07-28Remove FL_AUTO_DELETE_EVENT featureMatthias Melcher
It's not ripe for release yet and possibly not even needed according to pyFLTK maintainers. Added: 8cffbd694106a2371d297caa008f2290185fed2f
2024-07-28Wayland: restore support of Fl_Tile with subwindow widget - cont'dManoloFLTK
2024-07-27FLUID: fixes crash bug in Fl_Sys_Men_Bar inside a Class. #977Matthias Melcher
2024-07-26Adds the FL_AUTO_DELETE_EVENT to suppress auto delete.Matthias Melcher
Language wrappers can have major issues with FLTK auto deleting all children of a group if a group is deleted. This event gives individual widget the opportunity to override auto delete.
2024-07-26Wayland: restore support of Fl_Tile with subwindow widgetManoloFLTK
2024-07-24Fix Fl_Scalable_Graphics_Driver::rect(x,y,w,h) (#1017)ManoloFLTK
2024-07-24Comment only: add Fl_GDIplus_Graphics_Driver to Fl_Graphics_Driver hierarchyManoloFLTK
2024-07-23Resize line sizes and widths dynamically in test/line_style_docsAlbrecht Schlosser
Resize the window to see the effect: line sizes increase with the box size and become wider depending on the box size. Minimal line width of the "wide" lines has been changed from 4 to 5, maximal width is now 9. Distinct widths are { 5, 7, 8, 9 }. Note: the default (thin) line width is now 1 rather than 0 since the default 0 may render badly. Screenshot in documentation has been updated.
2024-07-23Fix "line_style_doc program under X11: join type wrong" - cont'd (#1017)ManoloFLTK
2024-07-23Fix "line_style_doc program under X11: join type wrong" (#1017)ManoloFLTK
2024-07-21Further removal of fl_line_style() asciiart (#1016)Greg Ercolano
2024-07-21Update docs and screenshot for fl_line_style() (#1016)Albrecht Schlosser
As a follow-up to the discussion I used the posted screenshot demo (thanks to Greg), redesigned it using Fl_Grid, and added it as a new test program, including Makefiles and CMakeLists.txt. New file: test/line_style_docs.cxx to create screenshot. Note that the old test/line_style.cxx is not obsolete, it can be used to test the line styles interactively. Docs have been updated in both chapter "Drawing Things" and the function description. Also added the new demo to test/demo.menu under "Images for Manual...".
2024-07-21Fix slowness due to not clipping (#1014)Greg Ercolano
2024-07-20fl_line_style() diagrams replace ascii art (#1016)Greg Ercolano
2024-07-20fl_line_style() docs refer to the enum (#1016)Greg Ercolano
2024-07-19Remove unused function after commit 325004fManoloFLTK
2024-07-19Fix border case of use of fl_end_loop under Windows with USE_GDIPLUS=1ManoloFLTK
2024-07-19Fix warnings during 'make html'Greg Ercolano
This fix solves these warnings: $ make html [100%] Generating HTML documentation /usr/local/src/fltk-1.4.x.git/src/Fl.cxx:2275: warning: explicit link request to 'include' could not be resolved /usr/local/src/fltk-1.4.x.git/src/Fl.cxx:2263: warning: explicit link request to 'include' could not be resolved