diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_color.cxx | 12 | ||||
| -rw-r--r-- | src/fl_vertex.cxx | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/fl_color.cxx b/src/fl_color.cxx index a3f82df19..b5b98401b 100644 --- a/src/fl_color.cxx +++ b/src/fl_color.cxx @@ -307,6 +307,11 @@ void fl_color(Fl_Color i) { } } +/** + Free color \a i if used, and clear mapping table entry. + \param[in] i color index + \param[in] overlay 0 for normal, 1 for overlay color +*/ void Fl::free_color(Fl_Color i, int overlay) { # if HAVE_OVERLAY # else @@ -326,6 +331,11 @@ void Fl::free_color(Fl_Color i, int overlay) { } } +/** + Set color mapping table entry \a i to color \a c + \param[in] i color index + \param[in] c color +*/ void Fl::set_color(Fl_Color i, unsigned c) { if (fl_cmap[i] != c) { free_color(i,0); @@ -344,7 +354,7 @@ void Fl::set_color(Fl_Color i, unsigned c) { in the next 8 bits, and the blue value in bits 8-15. The lower 8 bits will always be 0. - <P>The second form returns the red, green, and blue values + The second form returns the red, green, and blue values separately in referenced variables. */ unsigned Fl::get_color(Fl_Color i) { diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx index d563166e7..1a47a1c58 100644 --- a/src/fl_vertex.cxx +++ b/src/fl_vertex.cxx @@ -382,7 +382,7 @@ void fl_end_complex_polygon() { // See fl_arc.c for portable version. /** - fl_circle() is equivalent to fl_arc(...,0,360) but may be faster. + fl_circle() is equivalent to fl_arc(x,y,r,0,360) but may be faster. It must be the \e only thing in the path: if you want a circle as part of a complex polygon you must use fl_arc() \param[in] x,y,r center and radius of circle |
