summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-10-16 OpenManoloFLTK
Fix Drawing artifact with round check buttons in menu under Cairo (#792)
2023-10-15Improve small radio buttons by using fl_draw_circle()Albrecht Schlosser
This removes duplicated code as intended when fl_draw_circle() was introduced.
2023-10-15Fix small circle drawing and add doxygen \since statementAlbrecht Schlosser
src/fl_draw.cxx: improve documentation, add \since 1.4.0, simplify scaling code, use forgotten 'color' argument to set the circle color. src/fl_draw_arrow.cxx: add doxygen \since statement
2023-10-14Draws nicer small circles if display is scaled up.Matthias Melcher
2023-10-14Improve Fl_Wayland_Window_Driver::take_focus()ManoloFLTK
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser
2023-10-13Drawing artifact with round check buttons in menu under Cairo (#792)ManoloFLTK
2023-10-13Remove obsolete commentsManoloFLTK
2023-10-13FLUID: allow mousewheel events on coordinate inputMatthias Melcher
MACOS: make sure that even small mouse wheel deltas count at least as 1 unit
2023-10-13#748: Adds option to choose menu window boxtypeMatthias Melcher
...independently from the menu button or menu bar boxtype
2023-10-11Fixes conversion warning.Matthias Melcher
2023-10-11Fixes fl_filename_relative on Linux, Mac, and Windows (#787)Matthias Melcher
* fixed filename_relative for Linux * Fixing fl_filename_relative for MSWindows. * Update documentation * Fixed docs. * Fixes Linux and macOS builds
2023-10-11Synchronize all arrow colors and inactive drawing (#791)Matthias Melcher
2023-10-11macOS: remove availability warningManoloFLTK
2023-10-11Add legit #pragma clang diagnostic ignored "-Wdeprecated-declarations"ManoloFLTK
2023-10-10Fix default color of ATTR_GRAMMAR/ATTR_SPELLING (#790)leen
2023-10-09macOS: remove a bunch of deprecation warningsManoloFLTK
2023-10-09Clean long source lines in Fl_Wayland_Graphics_Driver.cxxManoloFLTK
2023-10-09Fix " Wayland compilation warnings" (#788)ManoloFLTK
2023-10-07Fix STR 3458: "GLUT compatibility mode segfaults"Albrecht Schlosser
... "when there's no current window". Silently ignore GLUT function calls that need a current window if the current window is NULL, return 0 from functions that return an 'int'. Check if window is shown in Fl_X11_Gl_Window_Driver::swap_buffers(). This would issue "XRequest.nnn: GLXBadDrawable 0x0" on X11 otherwise. Note: the chosen implementation to ignore GLUT calls silently appears to be compatible with GLUT (3.7) whereas FreeGLUT 3.0 would issue error messages and exit. The latter could be implemented as well but would be much more work.
2023-10-06Fix: macOS runtime warning makeKeyWindow... (#785)ManoloFLTK
2023-10-06Change prototype to Fl::now(double offset = 0)ManoloFLTK
2023-10-05Wayland: whitespace only changesManoloFLTK
2023-10-04Wayland: remove useless codeManoloFLTK
2023-10-03Fix fltk.coredev: mandelbrot demo segfault under WaylandManoloFLTK
2023-10-03Avoid integer overflow on Windows in delta time calculationAlbrecht Schlosser
See comment in the code. This makes the implementation more future proof although it's still problematic starting around 2038.
2023-10-03Wayland: add security test to avoid NULL pointer dereferencingManoloFLTK
2023-09-30Fixes Fl_Tabs clipping offsetMatthias Melcher
2023-09-29Remove unused variable, silence compiler warningAlbrecht Schlosser
warning: unused variable ‘dy’ [-Wunused-variable]
2023-09-29Adds Fl_Menu_::prev_mvalue() (#685)Matthias Melcher
2023-09-29Fixes overlapping tabs (#718)Matthias Melcher
* corrects clipping of overlapping tabs * fixes some issues with exotic box types like rounded boxes
2023-09-29Draw parent window backdrop on Fl_Tabs (#718)Matthias Melcher
2023-09-29Wayland: throttle window redraws during interactive resizes (#776)ManoloFLTK
2023-09-27Fix for CLEAR flag in Fl_PreferencesMatthias Melcher
Fixed warning in new Fl_Preferences constructor
2023-09-26FLUID: adds greatly enhanced Shell Commands (#774)Matthias Melcher
The user can add an arbitrary number of highly configurable shell commands through the setting panel. The commands can be saved as user preferences, inside the .fl file, or exported to an external file. Shell scripts can be limited to individual platforms, can have shortcut keys, etc. . * documentation will follow * support to call `fltk-config` will follow
2023-09-26Remove "warning: extended initializer lists only available with …"ManoloFLTK
2023-09-26Add Fl_Timestamp Fl::distant_past()ManoloFLTK
Can be handy when Fl::seconds_since() is used early at program startup
2023-09-26FLUID: Fixes regression #777Matthias Melcher
Wrote wrong path in #inlude statement under certain conditions. Also removed 'snap' tag if not needed.
2023-09-25New member function Fl_Wayland_Graphics_Driver::create_wld_buffer()ManoloFLTK
The previous member Fl_Wayland_Graphics_Driver::create_shm_buffer() is now renamed to create_wld_buffer() and divided in 2 parts: - one is related to the draw buffer; - the other is related to the wl_buffer and is what is now called create_shm_buffer(). This allows to delay creation of the wl_buffer until absolutely necessary, done inside Fl_Wayland_Graphics_Driver::buffer_commit().
2023-09-24Slightly simpler Fl_Wayland_Window_Driver::flush()ManoloFLTK
and beef up description of Wayland's mechanism to throttle screen redrawing.
2023-09-22Regenerate src/Fl_File_Chooser.cxx from its fluid source fileAlbrecht Schlosser
2023-09-22Update dependenciesAlbrecht Schlosser
2023-09-22Increase reuse of mmap'ed data by FLTK Wayland buffer factoryManoloFLTK
2023-09-20Small FNFC doc clarification; "pilots" -> "presets"Greg Ercolano
2023-09-18Step back commit 8248183 that's unsatisfactory while resizing windowsManoloFLTK
2023-09-17Improve reuse of mmap'ed data by Wayland buffersManoloFLTK
2023-09-17Restore Doxygen doc of fl_graphics_driverManoloFLTK
2023-09-12Fix Visual Studio shared library buildAlbrecht Schlosser
Todo: fluid-shared can't (yet) be built agains the shared fltk lib because of some linker errors. Needs investigation. Note: fluid-shared is basically a test program to demonstrate linking against the shared FLTK libs but doesn't work yet using VS (MSVC). This is no problem for the functionality.
2023-09-06Fixes Fl_Tabs to be more robust.Matthias Melcher
No children in Fl_Tabs should no longer crash the draw method. Also, drawing an Fl_Tabs with no children inside is now defined and documented.
2023-09-05Adds some convenience methods.Matthias Melcher
fl_filename_absolute can no generate a path using arbitrary source paths. Fl_Menu_ adds find_item_with_user_data and find_item_with_argument Fl_String adds find(string, start)