summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2026-01-08 21:22:03 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2026-01-08 21:22:03 +0100
commit4908dfd72a343ee7c35bc55a55ad860052e21fae (patch)
treefc8e9a7af14ce3b70648870593a4724a14a4ff66 /config.h.in
parent7fae181d9503c436a486c6810c07a3320a27d233 (diff)
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.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 8eebd16ea..9f235f7d1 100644
--- a/config.h.in
+++ b/config.h.in
@@ -356,3 +356,17 @@
*/
#cmakedefine01 HAVE_CURSOR_SHAPE
+
+
+/*
+ * FLTK_HAVE_PEN_SUPPORT
+ *
+ * Do we have pen/tablet support for the current platform?
+ * See CMake option FLTK_OPTION_PEN_SUPPORT
+ *
+ * Note: this option is "hidden" in 'config.h', i.e. it's not (yet)
+ * publicly accessibe. Move this to 'fl_config.h' to make it public.
+ *
+ */
+
+#cmakedefine FLTK_HAVE_PEN_SUPPORT 1