From d0fa58f700b633658e1bc1f9bcd9cbe46d4afd0c Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 9 Jul 2016 18:47:06 +0000 Subject: Clarification and better documentation of ABI version configuration. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'FL') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 9203b514c..5612bd5c9 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -3,7 +3,7 @@ // // Enumerations for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2015 by Bill Spitzak and others. +// Copyright 1998-2016 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 @@ -34,13 +34,8 @@ * or CMake. Do NOT define it here. Its definition will be included * below by "#include ". * - * (3) If you use the provided IDE files (Windows VC++ or Xcode) you should - * edit the definition in the provided IDE subdirectory. The correct - * file is `/path/to/fltk/ide//FL/abi-version.h' . - * ****************************************************************************** - * For more info on FL_ABI_VERSION, see: http://fltk.org/cmp.php#FL_ABI_VERSION - * FIXME: Update docs ... + * For more informations on FL_ABI_VERSION see README.abi-version.txt. ****************************************************************************** */ @@ -91,8 +86,8 @@ \deprecated This \p double version number is retained for compatibility with existing program code. New code should use \em int FL_API_VERSION instead. FL_VERSION is deprecated because comparisons of floating point - values may fail because of rounding errors. However, there are - currently no plans to remove this constant. + values may fail due to rounding errors. However, there are currently no + plans to remove this deprecated constant. FL_VERSION is equivalent to (double)FL_API_VERSION / 10000. @@ -152,7 +147,7 @@ To enable new ABI-breaking features in patch releases you can configure FLTK to use a higher FL_ABI_VERSION. - \todo Configuration of FL_ABI_VERSION needs documentation. + \see README.abi-version.txt */ #ifndef FL_ABI_VERSION #define FL_ABI_VERSION (FL_MAJOR_VERSION*10000 + FL_MINOR_VERSION*100) @@ -904,7 +899,7 @@ extern FL_EXPORT Fl_Fontsize FL_NORMAL_SIZE; ///< normal font size /** \name Colors The Fl_Color type holds an FLTK color value. - Colors are either 8-bit indexes into a virtual colormap + Colors are either 8-bit indexes into a virtual colormap or 24-bit RGB color values. (See \ref drawing_colors for the default FLTK colormap) Color indices occupy the lower 8 bits of the value, while -- cgit v1.2.3