summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
2020-07-12Update Fl_Window docs, fix typosAlbrecht Schlosser
No source code changes
2020-07-11Fix for building without print support (GitHub issue #98).ManoloFLTK
2020-07-10Convert Fl_Group::array_ to union to better represent its behaviorRobert Schumacher
Amended by Albrecht: - rename union member variables as discussed - add comments to new array_ union members Fixes #96 Signed-off-by: Albrecht Schlosser <albrechts.fltk@online.de>
2020-07-06Add member function FILE* Fl_PostScript_File_Device::file()ManoloFLTK
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
2020-06-30Clarify documentation (STR 3532)Albrecht Schlosser
Make clear that Fl::repeat_timeout() must only be called for the same timeout it is handling. Related STR's: https://www.fltk.org/str.php?L3532 https://www.fltk.org/str.php?L3516
2020-06-29Move class Fl_SVG_File_Surface from libfltk to libfltk_images.ManoloFLTK
File examples/SVG_File_Surface.cxx is no longer useful because it was a very partial implementation of what is now class Fl_SVG_File_Surface.
2020-06-27Add classes Fl_SVG_File_Surface and Fl_EPS_File_Surface to draw to SVG and EPS.ManoloFLTK
Test programs device and pixmap_browser use these new classes. Class Fl_SVG_File_Surface can be optionally made non functional using the --disable-svg configure option or turning off OPTION_USE_SVG in CMake. Class Fl_EPS_File_Surface can be optionally made non functional using the --disable-print configure option or turning off OPTION_PRINT_SUPPORT in CMake.
2020-06-18Document who's responsible for deletion of widget's image labels.ManoloFLTK
2020-06-15Allow using an Fl_SVG_Image object as window icon.ManoloFLTK
Fix for issue #90: Setting an svg image as a window icon causes a segfault.
2020-06-07Improve Fl_SVG_Image docsAlbrecht Schlosser
- add 'can_expand' optional parameter to scale() - don't expose name and e-mail of the nanosvg author in docs - format example code according to the FLTK coding style - fix (some) trailing spaces FTR: all examples compile and work well with current FLTK 1.4.
2020-06-06Add two virtual methods to class Fl_ImageAlbrecht Schlosser
(1) The new virtual method Fl_Image::release() which is equivalent to 'delete this' automatically extends to Fl_Shared_Image::release() which makes the latter method virtual. This new method in the base class makes Fl_Image::release() callable on all objects derived from Fl_Image. (2) Add virtual method Fl_Shared_Image *Fl_Image::as_shared_image() This new method can be used to detect whether an Fl_Image instance is an Fl_Shared_Image or not.
2020-05-24Fix documentation typos and formattingAlbrecht Schlosser
2020-05-08Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale()ManoloFLTK
so it can be called by any user code.
2020-05-07Extend fl_message_position() with 'center' optionAlbrecht Schlosser
Add argument 'center' to position the message box centered over the given x/y coordinates. Add another method to supply a widget or window to center the message box over. Fix documentation and don't use INT_MIN to avoid having to include limits.h in user code.
2020-05-07Add (x,y) positioning mode to common dialogsairbrett
Add new function to set (x,y) position. Reset to previous mode after innards is called by fl_* function. Use magic number for preferred position state. Note: several commits squashed and commit messages edited by AlbrechtS.
2020-04-26Doc: more detail about fl_clip_region() when drawing elsewhere than on the ↵ManoloFLTK
display
2020-04-22Add optional argument to Fl_Printer::begin_job() to inform caller when an ↵ManoloFLTK
error occurs. This solves an issue raised in fltk.general : Fl_Printer errors - how can I interpret them? https://www.fltk.org/newsgroups.php?s38419+gfltk.general+v38427
2020-04-20Make draw() protected (Fl_Tree + Fl_Table)Albrecht Schlosser
Widget draw() methods must be protected per FLTK convention.
2020-04-20Fix formatting of Fl_Wizard.HAlbrecht Schlosser
Fix white space and comments only, no code changes.
2020-04-20Make draw method protected in Fl_WizardMohammed Alyousef
2020-04-15Fix int highlight() commentMohammed Alyousef
2020-04-05Update standard file headersManoloFLTK
2020-03-28Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2020-03-28Doc: make clear that nanosvg doesn't render image elements.ManoloFLTK
2020-03-26Update documentation, fix typosAlbrecht Schlosser
2020-03-11Remove CodeWarrior "support"Albrecht Schlosser
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued since 2005) that defined the macro __MWERKS__. Code using this macro and several comments have been removed.
2020-03-08Update Fl_Text_Display documentationAlbrecht Schlosser
No code changes except minor formatting and trailing whitespace.
2020-03-03Clarify documentation of Fl_PackAlbrecht Schlosser
2020-02-28Fl_Sys_Menu_Bar: make it strict equivalent of Fl_Menu_Bar outside macOSManoloFLTK
2020-02-10Implement fl_putenv() as cross-platform putenv()Albrecht Schlosser
2020-02-03Move fl_font(face, size) to fl_draw.cxxAlbrecht Schlosser
I believe this is a better place. Also: add FL_EXPORT since it's no longer inline.
2020-02-03Fix regression calling fl_font() w/o draw contextAlbrecht Schlosser
According to the documentation fl_font(face, size) may be called "outside a draw context if necessary to call fl_width()". This worked in 1.3.5 but did not in 1.4 (so far). I reworded the docs to make clear that other measurement functions can be called as well and refactored the code to make sure that fl_font(face, size) will open the display if necessary.
2020-02-03Don't "export" X11 specific fl_open_display() functionAlbrecht Schlosser
The X11 specific overloaded function fl_open_display(Display *) has never been documented but exposed (and "exported" in the ABI) in FL/platform.H which is not necessary. This internal function is now static and no longer exposed in the ABI. Don't confuse with fl_open_display() w/o arguments which is still exported and declared in FL/platform.H.
2020-01-31Update Fl::keyboard_screen_scaling()Albrecht Schlosser
- make the internal variable static - make it callable after fl_open_display() - document that it's currently only usable to switch scaling off
2020-01-31Add Fl::keyboard_screen_scaling(int) to control recognition of ctrl/+/-/0/ManoloFLTK
2020-01-31Add a "Preview" switch to the GTK native file chooser.ManoloFLTK
The button state is recorded in a preference so is recovered the next time the GTK file chooser runs.
2020-01-30New public static variable bool Fl_Image::register_images_doneManoloFLTK
Allows an app to detect whether fl_register_images() was called or not.
2020-01-28Fix Doxygen formatting problem.ManoloFLTK
2020-01-26Fix 2 typos in Fl_Widget::shortcut_label() Doxygen doc.ManoloFLTK
2020-01-26Add Fl_Widget::shortcut_label(int) to control effect of '&' in some widget ↵ManoloFLTK
labels
2020-01-26Fix documentation of Fl_ShortcutAlbrecht Schlosser
Unfortunately this typedef for shortcuts in Fl_Menu_Items etc. can currently not be used with the full (21-bit) range of Unicode. These restrictions are now documented but should be removed in a future version, if possible.
2020-01-20Improve documentation of clipping functionsAlbrecht Schlosser
Clarify functionality of fl_not_clipped() and fl_clip_box(). Add developer documentation for Fl_Graphics_Driver::clip_box(). Documentation only, no code changes in this commit.
2020-01-14Merge remote-tracking branch 'refs/remotes/origin/master'Matthias Melcher
2020-01-14Fixed some documentation for Fl_Preferences and fl_make_path.Matthias Melcher
2020-01-13Combine image readers in class Fl_Image_ReaderAlbrecht Schlosser
This new class is explicitly internal and undocumented. We can rename and/or redefine or extend it as we need. This work is based on Matt's recent update with separate internal classes BMPReader and GIFReader which have been replaced by Fl_Image_Reader.
2020-01-10Updated image readers.Matthias Melcher
Removed duplicate code from Fl_JPEG_Image, updated and unified Doxygen comments. Avoiding name conflict in new protected functions.
2020-01-08Drop 1.0 compatibility; document 1.4 migrationAlbrecht Schlosser
The FLTK 1.0 compatibility support by defining macro 'FLTK_1_0_COMPAT' did no longer work since FLTK 1.3.x and nobody complained. Hence we can safely remove this "feature". Documentation changes: - Drop chapter 'Migrating Code from FLTK 1.0 to 1.1' - Drop chapter 'Migrating Code from FLTK 1.1 to 1.3' - Add chapter 'Migrating Code from FLTK 1.3 to 1.4' The removed chapters are still available in FLTK 1.3 docs.
2020-01-05Fix Doxygen description of the constructors.ManoloFLTK