From 4a6299fbccf79be61bef4955fb67260e01e26a42 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 24 Jun 2002 15:22:57 +0000 Subject: Add FLTK_1_0_COMPAT symbol for 1.0.x compatible names. Document this in the migration appendix, and add a section on keyboard focus. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'FL/Enumerations.H') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 92e6f1454..9598098e5 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.18.2.14.2.24 2002/06/09 13:35:49 easysw Exp $" +// "$Id: Enumerations.H,v 1.18.2.14.2.25 2002/06/24 15:22:57 easysw Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -394,8 +394,16 @@ enum Fl_Damage { FL_DAMAGE_ALL = 0x80 }; +// 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 + #endif // -// End of "$Id: Enumerations.H,v 1.18.2.14.2.24 2002/06/09 13:35:49 easysw Exp $". +// End of "$Id: Enumerations.H,v 1.18.2.14.2.25 2002/06/24 15:22:57 easysw Exp $". // -- cgit v1.2.3