summaryrefslogtreecommitdiff
path: root/FL/Enumerations.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-06-24 15:22:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-06-24 15:22:57 +0000
commit4a6299fbccf79be61bef4955fb67260e01e26a42 (patch)
tree12b882cd470ea4e002d4ec054f144573654e55cc /FL/Enumerations.H
parentbb056f78056e107d3ca25cb2c0d6bc99835edcaa (diff)
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
Diffstat (limited to 'FL/Enumerations.H')
-rw-r--r--FL/Enumerations.H12
1 files changed, 10 insertions, 2 deletions
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 $".
//