summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
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
2020-01-03Added code to read GIF files from memory (GitHub issue #33, 2/2)Matthias Melcher
2020-01-03Added code to read BMP files from memory (GitHub issue #33, 1/2)Matthias Melcher
2019-12-31Merge remote-tracking branch 'refs/remotes/origin/master'Matthias Melcher
2019-12-31Limiting file access for Fl_Preferences.Matthias Melcher
Added Fl_Preferences::file_access() and various flags that make it possible to limit or completely deny file access to the preferences system, either for the core library or for the application or both.
2019-12-30Small docs addition for issue#45.Greg Ercolano
2019-11-07Reorganise use of virtual member function Fl_Surface_Device::end_current()ManoloFLTK
2019-11-06Link Doxygen doc of Fl_Widget::label(text) to relevant part of FLTK ↵ManoloFLTK
programming manual.
2019-10-22Add default value of 0 for 1st arg of member function Fl_Printer::begin_job().ManoloFLTK
2019-09-15X11 platform: use Gnome printer dialog when the GTK library is available at ↵ManoloFLTK
run-time The code to determine whether the GTK library is available is now in Fl_X11_System_Driver::probe_for_GTK() called both by Fl_Printer::begin_job() and Fl_Native_File_Chooser. New Fl::option OPTION_PRINTER_USES_GTK allows to deactivate use of the Gnome print dialog. Minor change in Fl_Native_File_Chooser: GTK version 3 is searched before version 2, whereas the search order was the opposite before.
2019-08-27Added new method Fl_Tree_Item::event_on_item()Greg Ercolano
2019-08-27Add example "Fitting an SVG image to a resizable Fl_Box" to doc of Fl_SVG_Image.ManoloFLTK
2019-08-25More fixes for STR #3527; handle usericons, etcGreg Ercolano
2019-08-24Fixes STR #3527: Fl_Tree small drags on open/close icons change selectionGreg Ercolano
2019-08-12Support copy function in Fl_Color_ChooserAlbrecht Schlosser
Users can press ctrl-c (or ctrl-x) while using the fl_color_chooser() function or the Fl_Color_Chooser widget to copy the current color selection to the clipboard.
2019-08-04Better definition of 'struct dirent' for the MinGW32 compilerManoloFLTK
2019-07-26Added example images for Fl_[Hold/Multi]_BrowserGreg Ercolano
2019-07-26Modified indent + bracing for author's example codeGreg Ercolano
2019-07-26Add small code example, moved widget screenshot higher on doc pageGreg Ercolano
2019-07-20Fl_Copy_Surface: more detailed Doxygen description.ManoloFLTK
2019-06-27Add method Fl_Menu_::menu_end() (STR 3523)Albrecht Schlosser
This method can be called after all menu modifications to make sure the menu() array is relocated (copied from the internal working area) to a private place owned by the Fl_Menu_ instance. menu_end() is now called in Fl_Menu_Button::popup() to make sure the menu array is in private storage. This fixes STR 3523 w/o user code changes. Calling menu_end() is in most cases optional. Todo: call menu_end() where useful (or necessary), e.g. in Fl_Choice, Fl_Menu_Bar, etc. ?
2019-06-06Last commit typo: latex docs fixGreg Ercolano
2019-06-06Added example for mac Application -> PreferencesGreg Ercolano
2019-05-25Add default argument values to reimplementations of ↵ManoloFLTK
Fl_Widget_Surface::draw_decorated_window
2019-05-25Merge remote-tracking branch 'origin/master'ManoloFLTK
2019-05-25Call virtual member Fl_Surface_Device::end_current() when necessaryManoloFLTK
Rename member function Fl_Surface_Device::end_current_() to end_current(), set it protected, and make it called by the destructor of all classes derived from Fl_Surface_Device that re-implement end_current(). This way, end_current() runs equally if Fl_Surface_Device()::pop_current() is called before or after the drawing surface is deleted.
2019-05-25Fix version of removal of deprecated methodAlbrecht Schlosser
Removal of methods breaks the ABI, hence we need to wait until 1.5.0
2019-05-24Remove Fl_Copy_Surface_Driver::draw_decorated_window() that is unnecessaryManoloFLTK
2019-05-22Fix Doxygen comment badly processed by Doxygen 1.8.15ManoloFLTK
2019-05-22Implement Fl_Quartz_Copy_Surface_Driver::draw_decorated_window()ManoloFLTK
The window title is copied in vectorial form when the titlebar is layer-backed.