Add CMake option FLTK_OPTION_PEN_SUPPORT (default: ON)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

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.
This commit is contained in:
Albrecht Schlosser
2026-01-08 21:22:03 +01:00
parent 7fae181d95
commit 4908dfd72a
11 changed files with 88 additions and 18 deletions
+5 -1
View File
@@ -183,7 +183,11 @@ fl_create_example(navigation navigation.cxx fltk::fltk)
fl_create_example(output output.cxx fltk::fltk)
fl_create_example(overlay overlay.cxx fltk::fltk)
fl_create_example(pack pack.cxx fltk::fltk)
fl_create_example(penpal penpal.cxx fltk::fltk)
if(FLTK_OPTION_PEN_SUPPORT)
fl_create_example(penpal penpal.cxx fltk::fltk)
endif()
fl_create_example(pixmap pixmap.cxx fltk::images)
fl_create_example(pixmap_browser pixmap_browser.cxx fltk::images)
fl_create_example(preferences preferences.fl fltk::fltk)