summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-31Add support of Fl_Region to the Cairo graphics driverManoloFLTK
and remove it from the Wayland graphics driver.
2022-03-27Export fl_cmap to be able to build shared FLTK librariesAlbrecht Schlosser
2022-03-27Move src/cmap.cxx to util/cmap.cxx (utilities folder)Albrecht Schlosser
Regenerated src/fl_cmap.h with less spaces, updated copyright year. Only whitespace and comments are changed in this file. Note that src/cmap.cxx is not compiled to build the FLTK libs, it's only used to generate src/fl_cmap.h.
2022-03-27Wayland: replace public fl_event_time by static wld_event_time.ManoloFLTK
2022-03-26Add `const` to Fl_Image::fail() (PR #415)YX
2022-03-25Update documentation and dependenciesAlbrecht Schlosser
2022-03-25Remove documentation of non-existant function return values.ManoloFLTK
2022-03-24Remove platform-dependent type Fl_Bitmask (not in documented public API).ManoloFLTK
2022-03-24Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2022-03-24Remove useless virtual member function overrides.ManoloFLTK
2022-03-23Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and ↵ian.macarthur
unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments.
2022-03-23Create struct wld_window *Fl_Wayland_Window_Driver::wld_window to replace ↵ManoloFLTK
eventually fl_window.
2022-03-23Wayland: replace global fl_display by function struct wl_display ↵ManoloFLTK
*fl_wl_display().
2022-03-23Fix for issue #419: Wayland: scale/resize issue.ManoloFLTK
2022-03-21Fix driver definitions of vsnprintf() and vsscanf()Albrecht Schlosser
These two functions are fully defined in the platform specific driver methods, there's no need to define them in the base class. This quick fix returns 0 from the base class method. The main reason was to avoid a compiler error of MSVC 2010 and earlier, i.e. before MSVC 2012. Todo: int Fl_WinAPI_System_Driver::clocale_sscanf() needs to be fixed because '_vsscanf_l()' (with lower case 'L' for 'locale') does not exist in MSVC 2010 and earlier. It is not clear yet in which version it was added - current MS docs show it in MSVC 2015 and later.
2022-03-21Fix silly MSVC 2010 parser warningsAlbrecht Schlosser
Code like "void copy(const char */*stuff*/, ...)" would issue the warning "'*/' seen outside comment" which is formally true but ... These warnings don't appear with newer MS compilers, but I fixed them anyway.
2022-03-21Fix MSVC 2010 warning: using 'this' in initializer listAlbrecht Schlosser
This is a legitimate warning although it probably didn't do any harm.
2022-03-21Fix MSVC 2010 warning/error: declare variables in C earlyAlbrecht Schlosser
... before other code gets executed in a block. The warning or errors generated were MORE than confusing.
2022-03-21Avoid using same name (p) for distinct members of derived classes - cont'd.ManoloFLTK
2022-03-21Avoid using same name (p) for distinct members of derived classes.ManoloFLTK
2022-03-21Rename member Fl_Graphics_Driver::p to xpoint to avoid shadowing.ManoloFLTK
2022-03-21Fix for issue #418 : some warnings about unused functions.ManoloFLTK
2022-03-21Issue #359 RFE: access the MacOS windowid .ManoloFLTK
2022-03-21Fix for issue #416: Fl_Xlib_Graphics_Driver_font_xft.cxx has a libasan error.ManoloFLTK
2022-03-21Remove unnecessary constructors.ManoloFLTK
2022-03-20Improve documentation of Fl_Image::copy()Albrecht Schlosser
Mention the new Fl_Image::release() method to delete all types of images.
2022-03-20Fix Fl_Tiled_Image::copy(int W, int H)Albrecht Schlosser
Remove false "optimization" that would return the same pointer if the requested width and height are the same. Note: copy() must always return a new image (this is the expected behavior of copy). Otherwise deleting one of the objects (either the source or the copy) would delete the other one as well.
2022-03-20Update description of Fl_Graphics_Driver class hierarchy.ManoloFLTK
2022-03-20Fix typo in comment.ManoloFLTK
2022-03-20Simpler updateTrackingAreas method of class FLView is enough.ManoloFLTK
2022-03-20 Fix issue #413: Commit 29d9e31 creates memory handling problem under macOS.ManoloFLTK
2022-03-19Add missing initialization parts of Fl_SVG_ImageAlbrecht Schlosser
2022-03-19Restore default YES value for FLWindow releasedWhenClosed property.ManoloFLTK
2022-03-18Fix for issue #411: send FL_ENTER / FL_LEAVE events to Fl_Window objects.ManoloFLTK
2022-03-18More detailed doc of how to change the current drawing surface.ManoloFLTK
2022-03-17Improve handling of custom cursor by Wayland platform.ManoloFLTK
2022-03-16Add necessary #include <FL/platform.H> directive.ManoloFLTK
2022-03-16Remove typo in Fl_Wayland_Image_Surface_Driver.HManoloFLTK
2022-03-16Add member variable Window Fl_Wayland_Image_Surface_Driver::pre_window.ManoloFLTK
2022-03-15Fix for issue fltk#410 - continued.ManoloFLTK
2022-03-15Fix for issue #410ManoloFLTK
2022-03-14Move initialisation of X11 and Wayland built-in font names to ↵ManoloFLTK
fl_???_platform_init.cxx
2022-03-13Remove unnecessary #include directivesManoloFLTK
2022-03-13Separate platform init functions from platform-specific driver filesManoloFLTK
2022-03-10Document Fl::set_font(Fl_Font, const char *) with platform-specific details.ManoloFLTK
2022-03-10Fix for issue #404 about Fl::get_key(int).ManoloFLTK
2022-03-10Begin documenting the Wayland platform, new in FLTK version 1.4ManoloFLTK
2022-03-10Restore building for X11 platform + Pango (issue #405).ManoloFLTK
2022-03-09Add safety check in Fl_Wayland_Window_Driver::label().ManoloFLTK