diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-01-08 18:41:50 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-01-08 18:41:50 +0100 |
| commit | 3f1f8715853cd855aa66062f50843b21071f288a (patch) | |
| tree | e8e4fa57ae7fdceb4b0704cde07590a42f1c69fb /FL | |
| parent | 4197c2616d24b74dd1f48fd18a2145a64a689b35 (diff) | |
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.
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 10 | ||||
| -rw-r--r-- | FL/filename.H | 16 |
2 files changed, 3 insertions, 23 deletions
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 diff --git a/FL/filename.H b/FL/filename.H index 9d41008a9..5c1bab4d2 100644 --- a/FL/filename.H +++ b/FL/filename.H @@ -104,23 +104,9 @@ FL_EXPORT void fl_decode_uri(char *uri); # endif /* __cplusplus */ /* - * FLTK 1.0.x compatibility definitions... + * FLTK 1.0.x compatibility definitions (FLTK_1_0_COMPAT) dropped in 1.4.0 */ -# ifdef FLTK_1_0_COMPAT -# define filename_absolute fl_filename_absolute -# define filename_expand fl_filename_expand -# define filename_ext fl_filename_ext -# define filename_isdir fl_filename_isdir -# define filename_list fl_filename_list -# define filename_match fl_filename_match -# define filename_name fl_filename_name -# define filename_relative fl_filename_relative -# define filename_setext fl_filename_setext -# define numericsort fl_numericsort -# endif /* FLTK_1_0_COMPAT */ - - #endif /* FL_FILENAME_H */ /** @} */ |
