From 5df5daf78e135e0c8371012ffe56df5cae357755 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 20 Dec 2023 16:56:29 +0100 Subject: Make the 'Forms' compatibility library 'fltk_forms' optional This library is no longer needed in FLTK itself. There is only one demo program (test/forms.cxx) that uses it if it is built. The demo program displays a message if fltk_forms is not available. The default is 'enabled' for backwards compatibility but this may be changed to 'disabled' in a future version. --- FL/forms.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'FL/forms.H') diff --git a/FL/forms.H b/FL/forms.H index 594ef0c6d..9523b4da5 100644 --- a/FL/forms.H +++ b/FL/forms.H @@ -1,7 +1,7 @@ // // Forms emulation header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2011 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -47,7 +47,8 @@ typedef Fl_Window FL_FORM; #define FL_CANCEL 0 #define FL_INVALID 0 #define FL_IGNORE -1 -//#define FL_CLOSE -2 // this variable is never used in FLTK Forms. It is removed becaus it conflicts with the window FL_CLOSE event +// #define FL_CLOSE -2 // this variable is never used in FLTK Forms. It is removed + // because it conflicts with the window FL_CLOSE event #define FL_LCOL FL_BLACK #define FL_COL1 FL_GRAY -- cgit v1.2.3