summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
2021-05-02Fix a type (comment only)Albrecht Schlosser
2021-04-29Cleaner access to Fl_Gl_Window_Driver objects.ManoloFLTK
2021-04-28Fix "Fl_Shared_Image: use of unitialized data" (#216)Albrecht Schlosser
- fix issue as proposed - fix more potential access to uninitialized data issues - document Fl_Shared_Image::add_handler() - document typedef Fl_Shared_Image::Fl_Shared_Handler()
2021-04-07Make Fl_Input::handle_key() protected (#203)Albrecht Schlosser
... as requested in this comment: https://github.com/fltk/fltk/issues/211#issuecomment-814235771
2021-03-26Remove X11-specific code from platform-independent Fl_PostScript.cxxManoloFLTK
2021-03-21Remove unnecessary system includes from public headersAlbrecht Schlosser
Add includes of system headers in the implementation files where necessary.
2021-03-11Unification of scaled coordinate calculations in class ↵ManoloFLTK
Fl_Scalable_Graphics_Driver Most coordinate calculations are done with the new inline function int Fl_Scalable_Graphics_Driver::floor(int coord) that is used by both the Windows and X11 platforms.
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver - cont'd.ManoloFLTK
2021-03-01Remove duplicated code between derived classes of Fl_Graphics_Driver.ManoloFLTK
2021-03-01Remove warnings about hidden virtual member functions.ManoloFLTK
2021-02-27Remove config_lib.h and runtime configuration infoAlbrecht Schlosser
... as discussed in fltk.coredev.
2021-02-27Rename forgotten occurrence of fl_remove_scale() in Doxygen data.ManoloFLTK
2021-02-27Rename fl_remove_scale() to fl_override_scale() as discussed in fltk.generalManoloFLTK
Re: Can custom box type functions handle their own high-DPI screen scaling?
2021-02-25Add fl_remove_scale()/fl_restore_scale() to transiently draw without scaling ↵ManoloFLTK
factor. This new API is a response to this message in fltk.general : Can custom box type functions handle their own high-DPI screen scaling?
2021-02-24Improve precision of GUI scaling for Windows platform.ManoloFLTK
2021-02-16Remove FL_CFG_SYS_WIN32 preprocessor variable from fl_draw_pixmap.cxxManoloFLTK
2021-02-16Create virtual Fl_RGB_Image* Fl_Gl_Window_Driver::capture_gl_rectangle()ManoloFLTK
2021-02-15Update CMake and make files, minor edits onlyAlbrecht Schlosser
There are no functional changes to be expected, mostly formatting and comments.
2021-02-12Fix comments and documentationAlbrecht Schlosser
2021-01-29Make Fl_Gl_Window::gl_driver() private (#184)Albrecht Schlosser
The driver stuff should be private. The only usage I found was in class _Fl_Gl_Overlay which is now a 'friend class'.
2021-01-13Remove "Figure x.y: " from html image captionsAlbrecht Schlosser
... as discussed in fltk.coredev for easier maintenance. Also edit some minor issues.
2020-11-23Documentation: clarify how keypad keys are named.ManoloFLTK
2020-11-19Rename private member function with trailing underscore.ManoloFLTK
2020-11-17Fix whitespace and minor formatting issuesAlbrecht Schlosser
2020-11-17Replace virtual Fl_RGB_Image::cache_size() by virtual Fl_Image::cache_size()ManoloFLTK
2020-11-14Remove unnecessary friend declaration in class Fl_SVG_ImageManoloFLTK
2020-11-12Fix for issue #155 - continuedManoloFLTK
Restores proper separation of what is in libfltk and what is in libfltk_images
2020-11-12Fix for issue #155 - continuedManoloFLTK
The issue lies in details how floating point scaled coordinates are converted to integer values and its impact on the drawing of large SVG images. This commit fixes the X11 platform. The macOS platform is immune because drawing uses floating point coordinates. The Windows platform still needs fixing.
2020-11-03Add extra argument to Fl_SVG_File_Surface constructor.ManoloFLTK
This makes processing of the underlying FILE object consistant by classes Fl_SVG_File_Surface, Fl_EPS_File_Surface and Fl_PostScript_File_Surface.
2020-11-03Clarify doc about how FLTK_SCALING_FACTOR operates.ManoloFLTK
2020-11-01Add Fl_PostScript_File_Device::close_command(Fl_PostScript_Close_Command cmd)ManoloFLTK
Also expand Doxygen doc of class Fl_Printer for the X11 platform.
2020-10-28Pango ps (#148)ManoloFLTK
Use cairo-PostScript to output PostScript when pango is available. This allows to draw in vectorial form any script. Before, only the Latin script could be drawn to PostScript in vectorial form.
2020-10-12Simpler macOS implementation of capture of window titlebars.ManoloFLTK
2020-09-27More documentation of enum Fl_Paged_Device::Page_FormatManoloFLTK
2020-09-25More Doxygen information for enum Fl_Paged_Device::Page_Format.ManoloFLTK
2020-09-21Improve and clarify documentationAlbrecht Schlosser
2020-09-18Improve Fl_Menu_Item docs and inline deprecated methodsAlbrecht Schlosser
The deprecated methods are now calling the new methods to be entirely compatible. These methods should be removed in 1.5.0 (fix unrelated whitespace as well)
2020-09-18Fix use of "\deprecated" Doxygen commands.ManoloFLTK
2020-09-18Return 1 from Fl_Menu_Item::value() for checked itemsAlbrecht Schlosser
Previously (FLTK 1.3.x) the return value of a checked menu item was FL_MENU_VALUE (4) but the docs warned explicitly: "You should not rely on a particular value, only zero or non-zero."
2020-09-16Added Fl_Text_Display::style_buffer(), solves issue #138Greg Ercolano
2020-09-09More detailed doc of Fl_Window::decorated_w() and decorated_h().ManoloFLTK
2020-09-06Fix Fl_Check_Browser.{H|cxx} indentation (#121) (#132)Albrecht Schlosser
* Fix Fl_Check_Browser.{H|cxx} indentation (#121) ... and some more whitespace errors as proposed by Greg ... in issue #121: Fl_Check_Browser--whitespace-patch.txt Fixes #121 * Fix copyright years
2020-09-01Customize corner radius for rounded box/frame (#130)Albrecht Schlosser
Make maximum box corner radius and shadow width configurable. See Fl::box_border_radius_max() and Fl::box_shadow_width(). Documentation: update image of box types. Fixes #130
2020-08-24Improve 'Fl_When' enum documentationAlbrecht Schlosser
2020-08-14Add Fl_Window::screen_num(int) to fully control window locationManoloFLTK
on multi-screen systems having distinct per-screen scaling factors.
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
2020-07-30Fix use of an SVG image in Fl_Tiled_Image when display is rescaled.ManoloFLTK
2020-07-24Remove typedefs Fl_String and Fl_CStringAlbrecht Schlosser
These unused typedefs are not used anywhere and should not be defined at all. Remove typedef 'Fl_String' as decided in fltk.coredev. Remove typedef 'Fl_CString' as well for the same reason.
2020-07-15fix doxygen links in Fl_Group.HDuncan Gibson
fix dead links to Fl_Group::resizable(Fl_Box *box) reorder paragraphs to highlight different behaviour add link to new "How does resizing work?" chapter in dox
2020-07-14First pass at fixing issue 99Greg Ercolano
A lot of code touched because low level functions needed to pass up error messages reliably, and this had to propagate up the entire driver hierarchy. Tested OK *in English* on: > Linux > OSX 10.10.x > Windows VS2017 > Windows mingw64 I have no way to test on Android, but it might work. TODO: Needs testing in other languages to verify proper UTF8 error messages, esp. with Windows VS, due to complexities with FormatMessage() -- see get_ms_errmsg()