summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-21Fix argument of glMatrixMode() call.ManoloFLTK
2022-08-20Add static Fl_Wayland_Window_Driver::gl_plugin() member function.ManoloFLTK
2022-08-20Remove FL_EXPORT qualifier from platform-specific class declarations.ManoloFLTK
2022-08-20Add int Fl::system(const char *command) static member function.ManoloFLTK
2022-08-19Fl_Graphics_Driver: remove unused virtual qualifiers.ManoloFLTK
2022-08-18Add a few missing virtual members to Fl_Cairo_Graphics_Driver.ManoloFLTK
2022-08-18Document Fl_Gl_Window::draw_begin() and draw_end().ManoloFLTK
2022-08-18Simplify class Fl_OpenGL_Display_Device.ManoloFLTK
2022-08-18Remove un-necessary Fl_Wayland_Gl_Window_Driver::capture_gl_rectangle().ManoloFLTK
2022-08-17GitLab CI: fix syntax errorAlbrecht Schlosser
2022-08-17Simplify Fl_Wayland_Gl_Window_Driver::make_current_before() member function.ManoloFLTK
2022-08-17GitLab CI: limit lifetime of artifacts to 8 daysAlbrecht Schlosser
... to save storage space.
2022-08-17Wayland platform: improve Fl_Gl_Window resize operations.ManoloFLTK
2022-08-15Remove useless Fl_Wayland_Window_Driver::show_with_args_begin/end().ManoloFLTK
2022-08-15Fix Fl_Wayland_Window_Driver::decoration_sizes().ManoloFLTK
2022-08-13Replace call to CreateFont() by call to CreateFontW().ManoloFLTK
2022-08-12Add virtual Fl_Cairo_Graphics_Driver::cache_size() member function.ManoloFLTK
2022-08-12Improve automatic documentation generationAlbrecht Schlosser
This removes the need to edit the copyright year before generating the documentation (every year, in several files) and adds some technical information (doxygen generation date, doxygen version, and FLTK Git revision) in both HTML and PDF docs. - auto-generate copyright year (current year) used in several places - include FLTK Git revision in HTML and PDF docs - include generation date and doxygen version - replace special html footer which didn't work well with default footer
2022-08-10Fix Fl_Xlib_Graphics_Driver for drawing tiled images.ManoloFLTK
Conflicting demands arise in the implementation of class Fl_Xlib_Graphics_Driver for drawing images with the XRender library : 1) Issue #163 leads to use a bilinear filter to draw-and-scale images. 2) This tends to blur the edges of drawn areas which is bad for tiled images (that is because the edges get alpha values, even for an opaque source image). This commit resolves the conflict adding a means to detect whether the library is busy drawing a tiled image. If so, the bilinear filter is not applied, drawn areas don't have blurred edges, resulting in a nice tiling. With this commit, these test apps perform correctly: - tiled_image is correct at all scaling factor values also when modified to use a depth-3 or a depth-4 Fl_RGB_Image as tile; - unittests - Drawing Images is correct at all scaling factor values; - pixmap_browser scales correctly up and down JPEG and PNG images.
2022-08-09GitLab CI/CD: generate pdf documentationAlbrecht Schlosser
Remove build artifacts from normal builds (libs and executables). These were never meant to be provided but forgotten to remove after tests. Try to build fltk.pdf (may be removed later) Store fltk.pdf in 'public' folder to be available online in docs and downloadable as "artifact"
2022-08-09Fix Fl_Xlib_Graphics_Driver for tiled-depth 3 images.ManoloFLTK
Modifying test/tiled_image to make it use a depth-3 image for tiling (rather than an Fl_Pixmap) shows the filter does require to use PictOpOver as the render op in the XRenderComposite call.
2022-08-09Fix Fl_Xlib_Graphics_Driver for RGB image drawing under XQuartz.ManoloFLTK
2022-08-08Improve layout, fix resizing of test/demoAlbrecht Schlosser
Add an invisible box as resizable() to 'demogrp' to avoid bad resizing behavior while the debug terminal is enabled. The old version would disable some buttons including the 'exit' button if the window was resized to a smaller size. Simplify the popup menu (remove strcmp()).
2022-08-08Fix src/Makefile: add missing directory to 'clean' targetAlbrecht Schlosser
2022-08-08Add option to test Fl_Flex in test/pack.cxxAlbrecht Schlosser
This new feature demonstrates that Fl_Flex can be used (almost) as a drop-in replacement of Fl_Pack. Add missing file to examples/.gitignore.
2022-08-07Add Fl_Flex demo "howto-flex-simple" to examplesAlbrecht Schlosser
This demo program uses an Fl_Flex widget with one row of buttons.
2022-08-07Fl_Flex: support different margin sizes, improve docsAlbrecht Schlosser
Support different margin sizes on all four edges. Default margin and gap size is now 0 (compatible with Fl_Pack). Doxygen: move the description from the constructor to the class declaration which constitutes a "description". Make some methods virtual and/or 'const'. Clarify demo programs, make them even more "FLTK style".
2022-08-07Wayland platform: fix declaration of local variable 'scale'.ManoloFLTK
2022-08-07Wayland platform: move repeated code into ↵ManoloFLTK
Fl_Wayland_Graphics_Driver::buffer_commit().
2022-08-06Wayland: make sure wl_surface_frame() is followed by wl_surface_commit().ManoloFLTK
2022-08-06Wayland: fix regression from 50d26b0 in test/mandelbrot.ManoloFLTK
2022-08-06Check for error while communicating with Wayland - cont'd.ManoloFLTK
2022-08-06Check for error while communicating with Wayland.ManoloFLTK
2022-08-03Improve docs about FLTK coordinate systemsAlbrecht Schlosser
Enlarge the screenshot of test/coordinates for better readability in html and pdf docs.
2022-08-02Fl_Darwin_System_Driver: use explicit unicode characters, comment out coding ↵ManoloFLTK
sequences.
2022-08-01Fix Fl_Flex unsetting of set_size()Albrecht Schlosser
Don't add the widget to the array if size == 0 (unset) but it has not been in the array (or it's called twice).
2022-08-01Add Fl_Flex widget from Karsten Pedersen (issue #255)Albrecht Schlosser
This work is based on the repository and latest commit: https://github.com/osen/FL_Flex.git commit 36e4ed75a00daac825b87e81295818b4650991f5 Author: Karsten Pedersen <...> Date: Fri Apr 23 12:06:16 2021 +0000 Added Fltk (LGPL) license. This widget is similar to Fl_Pack and supports either one row or one column of widgets but has some more features. Test and demo programs are included: test/flex_login.cxx: simple "login window" demo program test/flex_demo.cxx: slightly more complex demo program The original demo programs can still be compiled and built with the new widget provided you '#include <FL/Fl_Flex.H>'. Backwards compatible methods are included (except debug()). The original widget has been modified to match FLTK standards and enhanced in several ways, including: - support box frames - add HORIZONTAL and VERTICAL enum values (as in Fl_Pack) - add horizontal() method (as in Fl_Pack) - use type() rather than internal 'direction' variable - add standard widget constructor (x, y, w, h, label) - add margin and gap accessors rather than hard coding constants - improve test and demo programs - add documentation - replace <vector> with array as required by FLTK CMP - rename camelCase method names, keeping old names for compatibility: - change 'setSize(Fl_Widget*, int)' to 'set_size(Fl_Widget*, int)' - change 'bool isSetSize(Fl_Widget*)' to 'int set_size(Fl_Widget*)' - remove debug() method - add a way to "unset" fixed size: set_size(Fl_Widget *, 0) - add layout() method to force recalculation of children - unify resizeRow() and resizeCol() methods to avoid code duplication - improve widget size calculation.
2022-07-31Mention support of macOS 13.0 "Ventura".ManoloFLTK
2022-07-30Add support of macOS Ventura 13.0ManoloFLTK
2022-07-27Improve check mark visibility for small sizesAlbrecht Schlosser
This looks a little better and more like FLTK 1.3
2022-07-27Configure/make: update dependenciesAlbrecht Schlosser
2022-07-27test/buttons: reorder buttons, remove unnecessary includesAlbrecht Schlosser
Reorder buttons in the expected <tab> order (left to right, top down), make window resizable, and remove unnecessary #include statements.
2022-07-27Add active/inactive button to unittest_schemes.cxxAlbrecht Schlosser
... to test the deactivated status of integrated widgets.
2022-07-27Fix for issue #471 for the Wayland platform.ManoloFLTK
2022-07-27Fix for issue #471: Different Fl_Window::resize() behavior between v1.3.8 ↵ManoloFLTK
and v1.4
2022-07-27Fl_Sys_Menu_Bar: allow use of more keys as menu shortcuts.ManoloFLTK
2022-07-26Fl_Sys_Menu_Bar: allow use of escape and tab as menu shortcuts.ManoloFLTK
2022-07-26Remove useless variables and preprocessor directives.ManoloFLTK
2022-07-26Remove redundant Fl_Xlib_Graphics_Driver::scale_bitmap_for_PostScript() ↵ManoloFLTK
under USE_XFT=1.
2022-07-26Remove redundant Fl_PostScript_Graphics_Driver::color() under Pango.ManoloFLTK