From 3f1f8715853cd855aa66062f50843b21071f288a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 8 Jan 2020 18:41:50 +0100 Subject: Drop 1.0 compatibility; document 1.4 migration The FLTK 1.0 compatibility support by defining macro 'FLTK_1_0_COMPAT' did no longer work since FLTK 1.3.x and nobody complained. Hence we can safely remove this "feature". Documentation changes: - Drop chapter 'Migrating Code from FLTK 1.0 to 1.1' - Drop chapter 'Migrating Code from FLTK 1.1 to 1.3' - Add chapter 'Migrating Code from FLTK 1.3 to 1.4' The removed chapters are still available in FLTK 1.3 docs. --- FL/Enumerations.H | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'FL/Enumerations.H') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 1efef1532..cc718aa34 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -3,7 +3,7 @@ // // Enumerations for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2017 by Bill Spitzak and others. +// Copyright 1998-2020 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 @@ -1222,13 +1222,7 @@ enum Fl_Damage { FL_DAMAGE_ALL = 0x80 /**< Everything needs to be redrawn. */ }; -// FLTK 1.0.x compatibility definitions... -# ifdef FLTK_1_0_COMPAT -# define contrast fl_contrast -# define down fl_down -# define frame fl_frame -# define inactive fl_inactive -# endif // FLTK_1_0_COMPAT +// FLTK 1.0.x compatibility definitions (FLTK_1_0_COMPAT) dropped in 1.4.0 #endif -- cgit v1.2.3