summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-01Fix default size_range() calculation (issue #392, STR 3352)Albrecht Schlosser
2022-02-27macOS: add how to install autoconf without brewManoloFLTK
2022-02-26Fix Visual Studio build warnings in OpenGL graphics driverAlbrecht Schlosser
2022-02-26Fix Visual Studio build warningsAlbrecht Schlosser
2022-02-24Documentation: remove duplicate color nameAlbrecht Schlosser
2022-02-22X11: Disable "boxcheat" hackAlbrecht Schlosser
For details see comment in src/Fl_x.cxx: this "Hack to speed up bg box drawing" is now disabled for several reasons. The code is still available if the macro ENABLE_BOXCHEAT is defined.
2022-02-21Update dependenciesAlbrecht Schlosser
2022-02-21Remove obsolete/disabled "boxcheat" codeAlbrecht Schlosser
Windows platform: Remove comments about obsolete code and one exported declaration of the variable 'fl_background_pixel' which is used only on the X11 platform. X11 platform: Remove comments. Other platforms: not affected.
2022-02-21Fix compiler warning [-Wunused-but-set-variable]Albrecht Schlosser
2022-02-21DOC: Provide a link to the "FLTK Standard Box Types" image (#397)Kevin Routley
* Provide a link to the "FLTK standard box types" image The doc for Box Types has the text "see figure 1" which does not exist! [It is figure 5.3 in PDF, no number in HTML]. This change provides a hyperlink which allows the reader to actually navigate to the cited figure. Confirmed to work as desired in HTML; I don't have LATEX so cannot confirm the PDF. * Add figure title "Standard Box Types" (#397) Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2022-02-20Fluid: no grid on window resizing. (#399)Matthias Melcher
2022-02-20Fluid: fixed missing return value (#398)Matthias Melcher
...and possible devision by zero
2022-02-19Fix typos and copyrightAlbrecht Schlosser
2022-02-16Update copyright year of documentationAlbrecht Schlosser
2022-02-16Fix "fl_message_icon() regression" (#395)Albrecht Schlosser
Some attributes of the default message icon had not been copied to the new Fl_Message class when opening a new dialog. Clarify documentation about supported icon attributes.
2022-02-14Adding comments to recent Fluid changes.Matthias Melcher
2022-02-13Better Fluid Widget dimension controls (#394)Matthias Melcher
* Size and position widgets can evaluate basic math. * Allowing x, y, w, and h as variables for formulas. Also supporting 'i' as a counting index when selecting multiple widgets, so setting Y: to i*25+10 arranges all selected widgets vertically. * Additional variables cx, etc. for children box cx, cy, cw, ch
2022-02-13Fix documentation error in Fl_Tabs (#391)Kevin Routley
2022-02-13Fluid: adding feature: Functions can also be "local". (#390)Matthias Melcher
Before, Functions could only be "static" (keyword static is added) or "global" (prototype is added). This is harmful if the function or method was declared elsewhere. "local" solves that.
2022-02-12expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser (#80)silverduner
* expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser for positioning * exposed size() and resize() in Fl_File_Chooser.
2022-02-11Fixed Fluid Alignment panel i18n to none.Matthias Melcher
2022-02-09Enable end user to copy standard dialog text to clipboard (#388)Albrecht Schlosser
All standard dialogs like fl_message() now handle command-c (macOS) and ctrl-c (other platforms) to copy the message text of standard dialogs to the clipboard as requested by GitHub Issue #388.
2022-02-08Account for presence of terminal panel in the size_range() call.ManoloFLTK
2022-02-08More detailed doc of Fl_Window::decorated_h() for X11 platform.ManoloFLTK
2022-02-08Fix for issue #373 apparent with macOS platform and SDK ≤ 10.13ManoloFLTK
Many thanks to @CendioOssman for finding the cure.
2022-02-07Add note about use of Fl_Window::decorated_h() under the X11 platform.ManoloFLTK
2022-02-06OpenGL implementation of all `fl_` "Drawing Fast Shapes" graphics calls (#385)Matthias Melcher
* Fix build system for unites, * Updated unittest to check OpenGL drawing. Making sure that OpenGL drawing is exactly the same as native drawing to make FLTK widget rendering look the same in GL windows. * Make OpenGL optional. * Implemented clipping in OpenGL * unites drawing fast shapes * Fixed CMake * Updating unittest. Added tests for fl_pi and fl_arc (int) Renamed tab to render complex shapes. * Improved OpenGL FLTK drawing emulation. * Fixed GTK ROUND DOWN BOX * Fixing Makefile for unittest * Correctly aligning OpenGL text. * Fixed text alignment in GL windows. Explained the "FLTK over GL " example in Cube. * Overlapping test. * Better GL graphics alignment. * Drawing the focus rect. * Adding Alpha Channel support for GL. * Added FLTK-on-GL documentation.
2022-02-05CMake/macOS: build arm files for libpng only on ARMAlbrecht Schlosser
Remove macOS warning "ranlib: file ... has no symbols" although this works only partially (see comment in png/CMakeLists.txt).
2022-02-05CMake: Remove unnecessary file from build systemAlbrecht Schlosser
Remove macOS warning "ranlib: file ... has no symbols".
2022-02-05Minor improvement in Fl_Mac_App_Menu::custom_application_menu_items().ManoloFLTK
2022-02-03Rearrange "Print Button Window" functionsAlbrecht Schlosser
- Rename Fl_Screen_Driver::print_or_copy_window() to fl_print_or_copy_window() - Add header file src/print_button.h - Update dependencies
2022-02-03Fl_Preferences (X11): Fix detection of preferences directoryAlbrecht Schlosser
- Fix compiler warning [-Wmaybe-uninitialized] for variable home - Reformat enum 'Root' for better readability - Add new enum values CORE_SYSTEM_L and CORE_USER_L - Improve documentation (deprecated and new enums) - Initialize internal static variable 'filename' which could be used uninitialized and thus return any previous value (type == MEMORY)
2022-02-03Fl_Timeout: Remove compiler warning [-Wclass-memaccess]Albrecht Schlosser
Also: fix doxygen warning
2022-02-03Remove platform #ifdef from macOS native filechooserAlbrecht Schlosser
2022-02-03Reorganize classes Fl_System_Driver and Fl_Screen_DriverManoloFLTK
These virtual members are moved from Fl_Screen_Driver to Fl_System_Driver - wait(double) - ready() These virtual members are moved from Fl_System_Driver to Fl_Screen_Driver - copy(const char *stuff, int len, int clipboard, const char *type) - void paste(Fl_Widget &widget, int clipboard, const char *type) - clipboard_contains(const char *type) - clipboard_notify_change() These members are moved from Fl_X11_Screen_Driver to Fl_X11_System_Driver - poll_or_select_with_delay(double time_to_wait) - poll_or_select() and are made virtual in preparation for the introduction of class Fl_Unix_System_Driver.
2022-02-02Add platform-independent Fl_Screen_Driver::print_or_copy_window().ManoloFLTK
This member function is available for all platforms to print or copy the front window with or without its titlebar.
2022-02-02macOS: add "Toggle printing of titlebar" to application menu - cont'd.ManoloFLTK
2022-02-02macOS: add "Toggle printing of titlebar" to application menu.ManoloFLTK
2022-02-01CMake: Fix image libraries build if fallback is usedAlbrecht Schlosser
The CMake instructions would use the wrong image libs (png, jpeg, zlib) if the fallback was active (OPTION_USE_SYSTEM_XXX) was true but the header files were not present. This had already been fixed for jpeg but not for the other two libs. This commit rearranges the logic for all three libs. Add information about builtin or system libraries to config summary.
2022-01-31Consolidate timeout handling across platforms (#379)Albrecht Schlosser
Add Fl_Timeout class Move platform independent code of Fl::wait() to main part - basic timeout handling - Fl::run_checks() - Fl::run_idle() - Fl::idle() - waiting time calculation (next timeout) - remove platform dependent "screen driver" stuff
2022-01-30Adding Text_Display color variables. (#384)Matthias Melcher
2022-01-29More natural shading for Checkers pieces.Matthias Melcher
2022-01-28Checkers pieces scaling.Matthias Melcher
2022-01-28New Checkers pieces created by me from scratch.Matthias Melcher
Remove possible licensing issues. Added vector file.
2022-01-28Remove obsolete image file (#31)Albrecht Schlosser
The checkers pieces are now maintained as .png images, the original (Gimp) image is obsolete.
2022-01-27Background color attribute for Fl_Text_Display. (#378)Matthias Melcher
* Background color attribute for Fl_Text_Display. * Adding attributes. * Avoid clipping horizontal * Fl_Text_Display underlining. * Better line positions * Typos, testing. * Documentation.
2022-01-26#31, HiDPI checkers, animation timingMatthias Melcher
2022-01-26Removed GL Button from test/cubeMatthias Melcher
2022-01-26Fix for #381, `backward` function crashMatthias Melcher
when no menu item is selected.
2022-01-23Preferences XDG path (#377)Matthias Melcher
* Preferences: remove CamelCase from public interface. * Prefs: documentation. * Prefs: updating Doxygen comments * XDG conforming preferences path