summaryrefslogtreecommitdiff
path: root/FL/Fl_Help_View.H
AgeCommit message (Collapse)Author
3 dayswipmaxim nikonov
3 dayswipmaxim nikonov
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-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-01Remove FLTK 1.4 ABI guardsAlbrecht Schlosser
2024-12-12Put ABI breaking changes under ABI guards (#1139)Albrecht Schlosser
This reverts the improvement of #1139 in the default build which is now only available with FL_ABI_VERSION=10401 or higher. Users that need this improvement need to build with the required ABI version by setting it with configure or CMake.
2024-11-24Fix compiler warning (g++ 14) [-Wstringop-overflow]Albrecht Schlosser
New compiler warning detected by g++ 14.2.0 building with CMake in Release mode. This *temporary* fix suppresses the warning but uses even larger fixed size buffers. Todo: these nasty warnings caused by using fixed buffer sizes should be removed by using std::string in FLTK 1.5.0.
2024-08-10Fix tabs, trailing spaces, and update dependenciesAlbrecht Schlosser
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
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
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-07-14Document that Fl_Help_View can't be used with FL_NO_BOXAlbrecht Schlosser
This widget overrides FL_NO_BOX internally by FL_UP_BOX for all practical purposes, e.g. draw(). This has been this way since its initial release and can't be changed.
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2020-07-01Update doc of Fl_Help_View following addition of html entity &dagger;ManoloFLTK
2018-05-06Remove useless #include <FL/Fl_Shared_Image.H> following usage of the new ↵Manolo Gouy
Fl_Image::scale() member function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-18Remove unnecessary #include files from Fl_Help_View.HAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-19Fix handing of html entities in copied text by Fl_Help_View widget.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17Fix Fl_Help_View buffer overflow (STR #3275).Albrecht Schlosser
This version works much better than the previous one: - fixed buffer overflow ("stack corruption") - fixed potential long text truncation - fixed tab formatting at line start or any offset divisible by 8 - better handling of HTML entities (aka quoted characters) - code simplifications, e.g. HV_Edit_Buffer::cmp() + width() Todo: - improve and standardize handling of HTML entities - more tests Missing features and known bugs: - strike out text (not implemented) - table and horizontal line formatting issues (STR #3227) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-271) Added a new way to detect whether the drawing operation is using the ↵Manolo Gouy
platform's native driver and whether we are printing: virtual int Fl_Graphics_Driver::has_feature(driver_feature feature) This is also because it is not convenient to derive a printer-specific driver with its own implementation of virtual functions when this implementation differs only in one line of code. 2) Solved the problem of inclusion of non public header by the public header FL/Fl_Device.H: bracket this with #if FL_LIBRARY / #endif so this non public header is included only when building FLTK itself. 3) Removed several (but not all) of the FLTK_ABI_VERSION guards that are no longer useful for code targeting FLTK 1.4. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-30Made Fl_Help_View::handle() public and Fl_Help_View::draw() protectedAlbrecht Schlosser
to enable inheritance and for consistency (STR #2834). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-04Remove Doxygen warnings introduced at r.9116Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-02STR 2714: remove lint (variables that have the same name as a function in ↵Matthias Melcher
the same scope). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-24Adding embedded documentation to Fluid if installed odcs are not found. ↵Matthias Melcher
Falls back to the internet if that does not exist either. Also, adds JPEG and PNG images to the Shared Image list if they were loaded from memory - see example use in fluid.cxx which loads and embedded html document containing an embedded PNG image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-22Added FL_EXPORT for some more classes and structs to clean up MS DLL building.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Changed all fixed filename buffers (that I could find) to use FL_PATH_MX ↵Matthias Melcher
instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-23Documented supported HTML tags. (STR#2321)Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-07Fix image handling in Fl_Help_View (STR #2163 and STR #2004).Albrecht Schlosser
src/Fl_Help_View.cxx: This fix is the first step and compatible with FLTK 1.1 (keeping the ABI). The next step should be to manage the loaded images in an own structure, because we must know exactly, when to release() the images. The previous version would release images too many times and could release shared images that had been loaded by another part of the program (maybe even another Fl_Help_View widget). FL/Fl_Help_View.H: Doxygen comments improved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-03STR #2184: bug in Fl_Help_Viewer font stackAlbrecht Schlosser
src/Fl_Help_View.cxx: removed double pushfont() for color changes FL/Fl_Help_View.H: fixed Fl_Help_Font_Stack::pop() to set the correct font git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02Fl_Help_View mods for scrollbar sizingGreg Ercolano
1) Introduced new scrollbar_size() methods with global fallback behavior 2) Added int scrollbar_size_ 3) Mods to code to make use of the above 4) Doxygen docs for the above git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15more documentation updates for Fl_Help_View.HAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6693 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15Fixed some comments and removed obsoleteAlbrecht Schlosser
#define getcwd _getcwd[2] because FLTK 1.3 now uses fl_getcwd(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14STR#890 non-lazy fix: as suggested, replaced the one level color attribute ↵Fabien Costantini
saving by a better font style stack including the color in its font style elements. Took this opportunity to remove the separated font stack (font and size) tables by an opaque and dedicated font stack object implementation. This permits i.e to change easily the stack size or even impl. (like a linked list impl.) without impacting the widget code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed the copyright to 2009 for header files. Still todo: src and test ↵Matthias Melcher
directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121