summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-06X11: Optionally copy selection buffer to clipboard (STR 3229)Albrecht Schlosser
The new method Fl::selection_to_clipboard(int) enables copying selection data to the clipboard on X11 if it is set to 1. This feature was requested by STR 3229 and the implementation was inspired by an `xterm` feature named "Select to Clipboard" which can be enabled by 'ctrl + middle mouse button + "Select to Clipboard"' in an xterm window.
2023-01-05Include OS error if reap_editor() failsGreg Ercolano
2023-01-05Add Fl_Tabs dragging in pulldown modeMatthias Melcher
2023-01-05Adding Fl::hide_all_windows()Matthias Melcher
2023-01-05Adding color to test/mandelbrot (#634)Matthias Melcher
2023-01-05Add close buttons for individual tabs in Fl_Tabs (#628)Matthias Melcher
Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features
2023-01-05Refactor drawing small circles: add fl_draw_circle()Albrecht Schlosser
This method can be used to draw small circles as part of the GUI. It is independent of the current scheme. Very small circles are approximated by drawing several rectangles.
2023-01-04Remove unused variable, fix "type issue" (#445, part 2)Albrecht Schlosser
This commit removes the unused variable as suggested in the discussion of issue #445: "type issue in fluid/ExternalCodeEditor_WIN32.cxx" ... although the compiler would remove it anyway. ;-)
2023-01-04 Fix for "Fl_Native_File_Chooser_MAC.mm compilation warning" (#627)ManoloFLTK
2023-01-04Cairo/Pango: compute character widths fast and string widths accuratelyManoloFLTK
This commit has Fl_Cairo_Graphics_Driver compute string widths in 2 ways: 1) when the string contains several unicode characters, the width of the whole string is computed, accounting for kerning when it occurs; 2) when the string contains a single unicode character, its width is computed, memorised, and re-used next time it's necessary. The effect of this approach is - Fl_Text_Display is fast because it uses memorised single character widths repeatedly - Fl_Input is drawn accurately because the cursor position is determined by string widths, not by sums of character widths.
2023-01-03Update "Migrating Code ..." documentationAlbrecht Schlosser
Add "New FL_OVERRIDE Macro" paragraph and update some more parts.
2023-01-03Clarify and improve Fl::scheme() related documentationAlbrecht Schlosser
2023-01-02Fix missing include file for Visual StudioAlbrecht Schlosser
... if GDIPLUS is disabled. Thanks to Winfried Szukalski for reporting this.
2023-01-02Modify 'oxy' scheme's "choice arrow" for consistencyAlbrecht Schlosser
The "choice arrow" used two "down-arrows" which was different than all the other schemes. Changed to up-arrow and down-arrow to make this more consistent. The exception is the default scheme (none or base) which uses only one down-arrow.
2023-01-02Fix box frame sizes of "round" boxes in scheme 'oxy'Albrecht Schlosser
2023-01-02Fix a doxygen warning and improve "file list" contentsAlbrecht Schlosser
FL/Fl_Group.H: add `\brief` keyword src/Fl_Group.cxx: fix warning: the '#' in '#include' must be escaped
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2023-01-01Add a missing FL_OVERRIDE flagAlbrecht Schlosser
2023-01-01Make sure that zlib and png are both local or system (#621)Matthias Melcher
Autoconf syncs png and zlib configuration Cmake png zlib selection
2023-01-01FLUID: BMP header file not trackedMatthias Melcher
2023-01-01FLUID: Fixes size_t signedness warningMatthias Melcher
2022-12-30Remove commented fl_beep calls (#620)Adam Chyła
2022-12-30Fixing false FL_OVERRIDEMatthias Melcher
2022-12-30Fix uninitialised struct in SVG readerMatthias Melcher
2022-12-30FLUID support for inline image data (see #542, #592) (#604)Matthias Melcher
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-12-30Fix misleading indentation (warning: [-Wmisleading-indentation])Albrecht Schlosser
2022-12-30Wayland+FreeBSD: fix "test/mandelbrot crashes on rightclick" (#618)ManoloFLTK
2022-12-29 Fix "Focus is lost leaving full screen on macOS 13" (#608)ManoloFLTK
2022-12-29libdecor: update from upstream (3f3e5e1d) as of 29-dec-2022ManoloFLTK
2022-12-28Improve and extend fl_contrast() (#370)Albrecht Schlosser
- Add internal fl_contrast_cielab() as the new default. - Keep old function as internal fl_contrast_legacy(). - Add fl_contrast_mode() to switch between fl_contrast() functions. - Add fl_contrast_level() to fine tune fl_contrast() per mode. - Add option to register and use a custom contrast function. - Add test/contrast.cxx test program. - Move all fl_contrast() related code to a new file src/fl_contrast.cxx. - Add fl_lightness() convenience function for perceived lightness. - Add fl_luminance() convenience function for physical luminance.
2022-12-28Fix for Two compiler warnings (#615) - cont'dManoloFLTK
The Page_Format and Page_Layout enums have been conceived for them to be combinable into a single int value.
2022-12-28Fix merge error in animated.cxx (sorry for the noise)Albrecht Schlosser
2022-12-28Replace an enum with 'const' variables in test/animated.cxxAlbrecht Schlosser
- replace enum value 'FRAMES' with 'const unsigned int frames' - replace enum value 'DIM' with 'const unsigned int dim' - remove commented statements that have never been used. Note: this also changes uppercase enum values to lowercase constants.
2022-12-28 Fix compiler warnings on Windows with mingw-w64 CMAKE_CXX_STANDARD=20 (#615)ManoloFLTK
2022-12-28Wayland: remove un-needed #include directivesManoloFLTK
2022-12-28Wayland: remove un-necessary Fl_Wayland_Gl_Window_Driver::gl_event_queueManoloFLTK
2022-12-28Wayland: simplify function struct wl_display *fl_wl_display()ManoloFLTK
2022-12-27Fix doxygen warnings (typos in argument names)Albrecht Schlosser
2022-12-27Exclude generated, Wayland specific files from Doxygen docsAlbrecht Schlosser
Some Wayland specific files are generated by the build process with configure + make in the source tree. These files are now ignored by the Doxygen documentation process.
2022-12-27Wayland: Dropdown menu moves when navigated (#613) - cont'dManoloFLTK
Menu windows containing sub-menus are now processed differently.
2022-12-26Wayland: Fix for "Dropdown menu moves when navigated" (#613)ManoloFLTK
This commit uses Wayland popup positionning methods to handle common menu windows and prevents them from expanding below display bottom or above top. The previous algorithm remains in place for menu windows higher than the display height. Further changes for these big menus may come later.
2022-12-24Fix for "Fatal error while communicating with the Wayland server" (#610)ManoloFLTK
This commit should fix: once the mouse leaves the app window area and returns back to it (app loses focus and gets it again) the crash happens.
2022-12-23Add libdecor to README.bundled-libs.txtManoloFLTK
2022-12-22Update bundled nanosvg library to current upstream versionAlbrecht Schlosser
... with FLTK modifications (see README.bundled-libs.txt). This fixes an issue where some svg images could not be loaded. Upstream: https://github.com/memononen/nanosvg/ commit 9da543e8329fdd81b64eb48742d8ccb09377aed1 (upstream/master) Merge: c886e50 0ce2e2b Author: Mikko Mononen <memononen@gmail.com> Date: Sun Dec 4 17:46:22 2022 +0200 Merge pull request #236 from sezero/signed-char change struct NSVGpaint:type to signed char
2022-12-22Missing parenthesesMatthias Melcher
2022-12-22Fix compilation on old gcc (#606)Matthias Melcher
* Fixing char* use in FLUID * Fixing const cast
2022-12-20Clean up class Fl_String (part of issue #601)Albrecht Schlosser
- remove static variable 'string_count' - improve and document methods debug() and hexdump() This commit does not resolve issue 601 but removes some development leftovers. Methods debug() and hexdump() left for debugging as requested.
2022-12-19Update dependencies, remove trailing whitespaceAlbrecht Schlosser
2022-12-19Fix compiler warning (unused variable)Albrecht Schlosser