summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
2025-10-29Add information on Fl_Widget::type_.Matthias Melcher
2025-09-05Make Fl_Table::get_selection() 'const' (#1305)Albrecht Schlosser
See also branch-1.4 with FLTK_ABI_VERSION >= 10405: commit 9b9426bf6e1140b3f220c8868a1d97bdc5e7f544
2025-08-22Fix typo in documentationAlbrecht Schlosser
2025-08-04Fix "Callback or event on minimize of the main window " for Wayland (#1288)ManoloFLTK
2025-08-03Add detail to the documentation of the FL_HIDE event.ManoloFLTK
2025-08-03Document that the Wayland platform doesn't send FL_HIDE to minimized windows.ManoloFLTK
2025-07-16Remove warnings triggered by -Wredundant-decls (#1277)ManoloFLTK
2025-07-15Fix: Redundant redeclaration of Fl_Shortcut fl_old_shortcut(const char*) (#1277)ManoloFLTK
2025-07-08Replace 'FL_OVERRIDE' with 'override' in public headersAlbrecht Schlosser
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
2025-07-08#146: Add access to scrollbars widget in Fl_Help_ViewMatthias Melcher
- new methods are Fl_Help_View::scrollbar() and Fl_Help_View::hscrollbar(), taking inspiration from Fl_Browser.
2025-07-07Fl_Help_View: Subclassing minor comment chagesMatthias Melcher
2025-07-07Fl_Table_Row: replace private class CharVector with std::vectorAlbrecht Schlosser
FL/Fl_Table_Row.H: use `std::vector<uint8_t> _rowselect;`, remove declaration of class `CharVector` src/Fl_Table_Row.cxx: remove implementation of class `CharVector`, simplify loops (use range based for loops), use resize() to change vector size. Unify copyright year of Fl_Table* headers and implementation.
2025-07-07Add missing and remove unnecessary #include statementsAlbrecht Schlosser
Note: if user code requires a header, then user code must #include it.
2025-07-05Fl_Help_View: Restoring bad includes for back compatibilityMatthias Melcher
2025-07-05Fl_Help_View: Revert some changesMatthias Melcher
2025-07-05Fl_Help_View: Thin out header fileMatthias Melcher
- remove unnecessary include.
2025-07-05Fl_Help_View: Refactor to use PIMPLMatthias Melcher
- using a Pointer to Implementation instead of having a huge Fl_Help_View class. This improves build speed (smaller header fiel) and allows us to fix the implementation while keeping the ABI unchanged.
2025-07-05Fl_Help_View: C++ formatting fix.Matthias Melcher
2025-07-05Fl_Help_View: Finl formatting and documentationMatthias Melcher
- restructure header file - sort source file reflecting header - documentation of text selection
2025-07-05Fl_Help_View: Improve selectionMatthias Melcher
- users can now select text in multiple Help Views - users can now select text that is also a link - selections draws dimmed if not focused
2025-07-04Fl_Help_View: Changes some more formattingMatthias Melcher
- streamlines callbacks - removes unused function - header file not finished yet!
2025-07-03Fl_Help_View: Refactoring static sizesMatthias Melcher
- replaced Fl_Int_Vector with std::vector<int> - removed static buffers in path arrangement methods - NULL to nullptr
2025-07-03Fl_Help_View: Improve formatting and Doxygen commentsMatthias Melcher
2025-07-03Fl_Help_View: Refactor more strings and dynamic lists.Matthias Melcher
2025-07-02Fl_Help_View: Reformat and commentsMatthias Melcher
2025-07-02Fl_Help_View: Refactor Fl_Help_Link to C++11Matthias Melcher
2025-07-02Help_View: Improve target line managementMatthias Melcher
2025-07-02Remove deprecated methods and functionsAlbrecht Schlosser
In FLTK 1.5 we remove most (but not all) methods and functions that were deprecated in FLTK 1.3 or earlier.
2025-07-02Set Fl_Menu_Item::setonly() to deprecatedMatthias Melcher
for the version without the starting argument.
2025-07-01Remove FLTK 1.4 ABI guardsAlbrecht Schlosser
2025-06-30Improve bilinear image scaling below 50%Matthias Melcher
The original code can not scale well below 50%. To improve filtering in a fast way, huge images are scaled by powers of two before fine scaling using the original bilinear scale.
2025-06-19Update Fl::await() and friends API and documentationMatthias Melcher
This creates the base for #1263, but does not fix it yet.
2025-06-05Fix several compiler warnings [-Wextra-semi]Albrecht Schlosser
Example: warning: extra ‘;’ after in-class function definition [-Wextra-semi] Also: replace 'FL_OVERRIDE' with 'override' in all modified files
2025-05-14Fl_Window::free_position() must not be deprecatedAlbrecht Schlosser
This method was erroneously declared 'deprecated' in previous versions. However, this method is public and calls the *protected* method Fl_Window::force_position(). Therefore it is kept as a regular public method.
2025-05-14Fix doxygen warningsAlbrecht Schlosser
1. src/Fl_add_idle.cxx: add missing parameter docs 2. FL/fl_draw.H: rename 1st parameter of fl_draw_pixmap(...) from 'data' to 'cdata'. The 2nd warning appears to be caused by a 'friend' declaration in FL/Fl_Graphics_Driver.H, line 98: 'friend FL_EXPORT int fl_draw_pixmap(const char*const* cdata, ...)' This 'friend' declaration seems to "confuse" some (newer?) doxygen versions, definitely doxygen 1.13.2.
2025-05-13Remove deprecated function Fl::set_idle()Albrecht Schlosser
This turned out to be more complicated than just to delete a function because it was used internally, and the callback signatures were a bit flaky. I also added a lot of documentation to clarify matters. FL/Fl.H: document idle callback signatures, make some internal functions of class Fl private, add public Fl::idle() accessor (read- only), add Fl::add_idle(Fl_Old_Idle_Handler cb) to enable using old-style idle callbacks w/o 'data' argument. FL/forms.H: replace Fl::set_idle() with Fl::add_idle(). src/Fl.cxx: rename private Fl::idle_ with trailing underscore. src/Fl_System_Driver.cxx: use new public accessor Fl::idle() to access Fl::idle_ which is now private. src/Fl_add_idle.cxx: improve documentation, clarify idle callback matching, add example code in docs, rename methods, add overloaded Fl::add_idle(Fl_Old_Idle_Handler cb). src/Fl_win32.cxx: use public Fl::idle() rather than private member. src/drivers/Unix/Fl_Unix_System_Driver.cxx: same as above. src/Fl_cocoa.mm: same as above.
2025-05-11Fix unused parameterMatthias Melcher
2025-05-09Fl_Terminal doc fixes, private->protected for utf8_char_at_*()Greg Ercolano
2025-05-09Remove declaration of Fl_Scalable_Graphics_Driver from FL/Fl_Graphics_Driver.HManoloFLTK
and declare it in non-public header src/Fl_Scalable_Graphics_Driver.H which also declares classes Fl_Font_Descriptor and Fl_Fontdesc.
2025-05-06Remove hardcoded version numbers: part 1Albrecht Schlosser
The goal is to change the version number for a new release only in CMakeLists.txt. This is the first step. Details: - CMake/gen_config.cmake: this new file is included to generate the header files config.h (private, root directory), and FL/fl_config.h (public, can be installed). This file implements also ABI version checks (removed from FL/Enumerations.H and with more checks). Warnings are issued if the chosen ABI version is invalid. - CMake/export.cmake: code to generate 'config.h' was moved to CMake/gen_config.cmake. - CMake/options.cmake: set default of FLTK_BUILD_FORMS=OFF + comments - CMakeLists.txt: move generation of FL/fl_config.h to gen_config.cmake, add API and ABI versions to CMake summary, - FL/Enumerations.H: remove most of the version number details which are now included in FL/fl_config.h. This needed also some doxygen related changes. - README.CMake.txt: improve docs of FL_ABI_VERSION and some more. Reflect the new default of CMake option FLTK_BUILD_FORMS (OFF). - documentation/Doxyfile.in: add FL/fl_config.h to file list. This file is created in the build tree (and may be "installed"). - fl_config.h.in: add version number details that have been moved here from Enumerations.H (used to generate FL/fl_config.h).
2025-04-29Fix Doxygen warning for older Doxygen versionsAlbrecht Schlosser
Note: doxygen versions < 1.9.6 are not recommended for PDF docs but *may* work for HTML documentation.
2025-04-01Adding the FL_MENU_CHATTY flag to Fl_Menu_Item.Matthias Melcher
If set, menu items will also call the callback when highlighting changes. The reason is given with Fl::callback_reason(). #941
2025-03-29Adding `FL_BEFORE_MENU` event to classes derived from `Fl_Menu_`Matthias Melcher
2025-03-29Adds a new event FL_TOOLTIP_EVENT...Matthias Melcher
... and Fl_Tootip::override_text() to allow users to dynamically generate tooltips.
2025-03-29Allow FL_ABI_VERSION = FL_API_VERSION + 1Albrecht Schlosser
... so users can enable ABI features designated for the *next* release when using FLTK from Git (or snapshots) before the API version has been raised for that release.
2025-03-28Changed two connector methods to virtualGreg Ercolano
For reference, see fltk.general thread started Mar 26 2025, entitled: "Make some Fl_Tree_Item methods virtual?"
2025-03-19Remove obsolete build option 'FLTK_OPTION_STD'Albrecht Schlosser
This option is no longer needed since FLTK 1.5 always requires C++11.
2025-03-16Remove libfltk_cairo (fltk::cairo)Albrecht Schlosser
This library is no longer needed and was "empty" for backwards compatibility since FLTK 1.4.0.
2025-03-07Making fl_filename_... public for std::string.Matthias Melcher
New functions append "_str" to the function name to avoid ambiguities when calling them. So 'char *fl_filename_name(const char *)' becomes 'std::string fl_filename_name_str(const std::string &)'
2025-03-07Fl_String is now just an alias for std::string.Matthias Melcher
All mentions of Fl_String will be replaced with std::string and the Fl_String implementation will be removed.