summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-01Add "†" HTML entity.ManoloFLTK
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-24Fix static code analyzer warningsAlbrecht Schlosser
Note: there's more to do ...
2020-06-24Avoid crash in Fl::next_window(win)Albrecht Schlosser
As documented, Fl::next_window(win) must only be called with a valid *shown* window. The old code would crash if the argument was NULL or the window was not shown. The new code avoids the crash, issues an error message, and returns NULL to the caller.
2020-06-17macOS Window menu: select in menu new top window after window deletionManoloFLTK
2020-06-16More detailed documentation of Fl_SVG_Image::normalize().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-15Fix overly restrictive JPEG filter (#81)Albrecht Schlosser
See https://github.com/fltk/fltk/issues/81 Fixes #81
2020-06-15Fix stale current_ pointer when deleting Fl_GroupAlbrecht Schlosser
If a user program accidentally deletes the "current" group, then the pointer would still point at the deleted widget. This commit prevents this and makes the Fl_Group's parent the current group. Fixes issue #88.
2020-06-13CMake: Build static and shared libs side-by-sideAlbrecht Schlosser
Clean up library and variable names. Remove '_SHARED' suffix from library (output) filenames. This commit was inspired by David Runge ('dvzrv'), thanks. See PR #21. Fixes #21
2020-06-13Update dependenciesAlbrecht Schlosser
Change sort order using -f (--ignore-case): fold lower case to upper case characters
2020-06-10Fix for "Fullscreen_off removing the icon from the titlebar on MacOS" in ↵ManoloFLTK
fltk.coredev
2020-06-03Make doc of member function Fl_SVG_Image::resize() more detailed.ManoloFLTK
2020-06-02Fix for PR#86: mousewheel simultaneous X and Y scrolling under OS X .ManoloFLTK
Thanks to the OP for most of the fix.
2020-06-01Improve Fl_Preferences documentationAlbrecht Schlosser
This commit fixes typos and reformats some of the documentation. No code changes.
2020-06-01Avoid repeated calls to CGBitmapContextGetBytesPerRow().ManoloFLTK
2020-05-31Have NSAutoreleasePool released after last use of variable eManoloFLTK
2020-05-31Protect NSHomeDirectory() call by an NSAutoreleasePool.ManoloFLTK
That may be necessary if preferences are accessed before fl_open_display() was called.
2020-05-20Reorganise code that captures on-screen window content.ManoloFLTK
Also introduce new rect_to_NSBitmapImageRep: method of class FLWindow which makes it possible to reimplement it.
2020-05-15Fix "misleading indentation" in Fl_Text_Buffer.cxxNewton
Compiling with clang produced the following warning on this line: src/Fl_Text_Buffer.cxx:1292:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] replace(start, end, text); ^ src/Fl_Text_Buffer.cxx:1288:3: note: previous statement is here if (!sel->position(&start, &end)) ^
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-08Fix doxygen docs (wrong argument name)Albrecht Schlosser
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-05-04Support case when window is fullscreen - continuedManoloFLTK
2020-05-04Support case when captured window is fullscreen: no titlebar.ManoloFLTK
2020-04-29Reformat src/cmap.cxx and regen src/fl_cmap.hAlbrecht Schlosser
- remove obsolete code / comments (see Git for history) - add copyright to generated file src/fl_cmap.h - generate copyright year in src/fl_cmap.h automatically - add color indices as comments to color values - remove $Id header - replace $Id trailer with a more useful comment
2020-04-29Minor readability doc change.ManoloFLTK
2020-04-28Update dependencies and .gitignoreAlbrecht Schlosser
2020-04-24Misc doc improvements.ManoloFLTK
2020-04-24Doc change with intent to make it clearer.ManoloFLTK
2020-04-23Update © year.ManoloFLTK
2020-04-23Check for success of the FormatMessageW() call.ManoloFLTK
2020-04-22Match variable type (DWORD) and format specifierManoloFLTK
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-21Slightly improve drawing of window titlebars.ManoloFLTK
2020-04-21Avoid useless multiplication by 1 operations.ManoloFLTK
2020-04-14Make sure output file name extension is visible.ManoloFLTK
2020-04-12MacOS: show print chooser panel as a sheet.ManoloFLTK
2020-04-10Give example of use of Fl_Native_File_Chooser::USE_FILTER_EXT option.ManoloFLTK
2020-04-10Fix regression in Fl_Native_File_Chooser under macOS when USE_FILTER_EXT is ON.ManoloFLTK
2020-04-07Move Fl_Image_Reader.cxx to libfltk_images where it belongs.ManoloFLTK
2020-04-05Update standard file headersManoloFLTK
2020-04-03Fix Fl_X11_Window_Driver::capture_titlebar_and_borders() for resizable window.ManoloFLTK
2020-03-26Update documentation, fix typosAlbrecht Schlosser
2020-03-25Fix for issue #65: FLTK breaks when resize request is deniedManoloFLTK
Under Windows, window resize requests sent by the program are now ignored, which is what happens under X11 and macOS. Previously, the window would become frozen.
2020-03-20Fix a typoAlbrecht Schlosser
2020-03-20Rewrite Fl_Xlib_Graphics_Driver::get_font_name() with less lines of code.ManoloFLTK
2020-03-20Fix Fl::get_font_name() under X11+Xft-PangoManoloFLTK