Changeset 133:d76e2ff9c70d in lemon for lemon/color.h
- Timestamp:
- 04/13/08 09:20:43 (17 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/color.h
r129 r133 112 112 113 113 ///Constructor 114 ///\param have_white indicates whether white is amongst the 115 ///provided initial colors (\c true) or not (\c false). If it is true, 116 ///white will be assigned to \c 0. 114 117 ///\param num the number of the allocated colors. If it is \c -1, 115 ///the default color configuration is set up (26 color plus the118 ///the default color configuration is set up (26 color plus optionaly the 116 119 ///white). If \c num is less then 26/27 then the default color 117 120 ///list is cut. Otherwise the color list is filled repeatedly with 118 121 ///the default color list. (The colors can be changed later on.) 119 ///\param have_white indicates whether white is amongst the120 ///provided color (\c true) or not (\c false). If it is true,121 ///white will be assigned to \c 0.122 122 Palette(bool have_white=false,int num=-1) 123 123 { … … 174 174 colors[i%colors.size()]=c; 175 175 } 176 /// \e176 ///Add a new color to the end of the color list. 177 177 void add(const Color &c) 178 178 { … … 186 186 }; 187 187 188 ///Returns a visibl edistinct \ref Color188 ///Returns a visibly distinct \ref Color 189 189 190 190 ///Returns a \ref Color which is as different from the given parameter
Note: See TracChangeset
for help on using the changeset viewer.