From 065cfaadbe31f61dc5530b3dc4bf6ec6293cb1a8 Mon Sep 17 00:00:00 2001 From: engelsman Date: Wed, 15 Oct 2008 21:38:38 +0000 Subject: minor doxygen updates for fl_draw.H, fl_color.cxx and fl_vertex.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_color.cxx | 12 +++++++++++- src/fl_vertex.cxx | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'src') 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. -

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 -- cgit v1.2.3