1.1 --- a/lemon/color.h Mon Apr 14 11:23:56 2008 +0100
1.2 +++ b/lemon/color.h Sun Apr 13 08:20:43 2008 +0100
1.3 @@ -111,14 +111,14 @@
1.4 ///Constructor
1.5
1.6 ///Constructor
1.7 + ///\param have_white indicates whether white is amongst the
1.8 + ///provided initial colors (\c true) or not (\c false). If it is true,
1.9 + ///white will be assigned to \c 0.
1.10 ///\param num the number of the allocated colors. If it is \c -1,
1.11 - ///the default color configuration is set up (26 color plus the
1.12 + ///the default color configuration is set up (26 color plus optionaly the
1.13 ///white). If \c num is less then 26/27 then the default color
1.14 ///list is cut. Otherwise the color list is filled repeatedly with
1.15 ///the default color list. (The colors can be changed later on.)
1.16 - ///\param have_white indicates whether white is amongst the
1.17 - ///provided color (\c true) or not (\c false). If it is true,
1.18 - ///white will be assigned to \c 0.
1.19 Palette(bool have_white=false,int num=-1)
1.20 {
1.21 if (num==0) return;
1.22 @@ -173,7 +173,7 @@
1.23 {
1.24 colors[i%colors.size()]=c;
1.25 }
1.26 - ///\e
1.27 + ///Add a new color to the end of the color list.
1.28 void add(const Color &c)
1.29 {
1.30 colors.push_back(c);
1.31 @@ -185,7 +185,7 @@
1.32 int size() const { return int(colors.size());}
1.33 };
1.34
1.35 - ///Returns a visible distinct \ref Color
1.36 + ///Returns a visibly distinct \ref Color
1.37
1.38 ///Returns a \ref Color which is as different from the given parameter
1.39 ///as it is possible.