lemon/color.h
changeset 2344 48ecc4feb42b
parent 2230 67af33b34394
child 2391 14a343be7a5a
equal deleted inserted replaced
6:d06ed9d004c2 7:1e8e5cf9e925
    98 
    98 
    99 ///This map assigns one of the predefined \ref Color "Color"s
    99 ///This map assigns one of the predefined \ref Color "Color"s
   100 ///to each <tt>int</tt>. It is possible to change the colors as well as their
   100 ///to each <tt>int</tt>. It is possible to change the colors as well as their
   101 ///number. The integer range is cyclically mapped to the provided set of colors.
   101 ///number. The integer range is cyclically mapped to the provided set of colors.
   102 ///
   102 ///
   103 ///This is a true \ref concept::ReferenceMap "reference map", so you can also
   103 ///This is a true \ref concepts::ReferenceMap "reference map", so you can also
   104 ///change the actual colors.
   104 ///change the actual colors.
   105 
   105 
   106 class Palette : public MapBase<int,Color>
   106 class Palette : public MapBase<int,Color>
   107 {
   107 {
   108   std::vector<Color> colors;
   108   std::vector<Color> colors;