Commit Graph

6 Commits

Author SHA1 Message Date
Albrecht Schlosser
e9966b7e31 CMake: add try_compile() to figure out if Pen/Tablet is supported
This test is specifically intended to disable Pen/Tablet support on
classic MinGW (32-bit) platforms that lack required symbol definitions
although Pen/Tablet support might be supported by the Windows system.

This test can be extended for other platforms, but for now it's
performed only on Windows.
2026-01-29 17:43:21 +01:00
Albrecht Schlosser
4908dfd72a Add CMake option FLTK_OPTION_PEN_SUPPORT (default: ON)
This option can be used to disable pen/tablet support if there are
build problems on a particular platform or build system (e.g. MinGW)
so users can continue to build FLTK 1.5.

Users can also choose to disable pen support if they don't need it.
2026-01-08 21:22:03 +01:00
ManoloFLTK
522728de8c Wayland: use modern approach to cursor shapes with the "Cursor shape" protocol.
This removes the need to guess names of files each theme gives to cursor shapes
and makes linking with dbus superfluous when the compositor supports
the new protocol.
The old, surface-based approach to cursor shapes remains used for custom shapes.
2026-01-05 15:05:25 +01:00
ManoloFLTK
d95ea68ee2 Remove typo in comment 2025-12-08 23:28:18 +01:00
ManoloFLTK
8454135d0c Wayland: add support of the "XDG dialog windows" protocol 2025-12-08 18:27:51 +01:00
Albrecht Schlosser
9ba11949ca Rename config header input files to better names
Up to FLTK 1.4 we had two distinct input files for each header file:
one for configure and one for CMake. Since 1.5 we have only one input
file for each header which can now have a more appropriate name.

1) configh.cmake.in   -> config.h.in
2) fl_config.cmake.in -> fl_config.h.in
2025-05-05 14:52:02 +02:00