From efd349ddceb8fa8e216bb2e9fb12dfc7dbb6637d Mon Sep 17 00:00:00 2001 From: engelsman Date: Fri, 29 Oct 2010 22:14:59 +0000 Subject: updated documentation for color handling - see STR #2226 - added text about color(0xRRGGBBII) call to common.dox and drawing.dox - added doxygen comments for fl_show_chooser(), including image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7770 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_color.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/fl_color.cxx b/src/fl_color.cxx index b50b0794d..eab61af7f 100644 --- a/src/fl_color.cxx +++ b/src/fl_color.cxx @@ -361,8 +361,9 @@ void Fl::set_color(Fl_Color i, unsigned c) { #endif // end of X-specific code /** - Returns the RGB value(s) for the given FLTK color index. The - first form returns the RGB values packed in a 32-bit unsigned + Returns the RGB value(s) for the given FLTK color index. + + This form returns the RGB values packed in a 32-bit unsigned integer with the red value in the upper 8 bits, the green value in the next 8 bits, and the blue value in bits 8-15. The lower 8 bits will always be 0. -- cgit v1.2.3