summaryrefslogtreecommitdiff
path: root/src/fl_color.cxx
diff options
context:
space:
mode:
authorengelsman <engelsman>2010-10-29 22:14:59 +0000
committerengelsman <engelsman>2010-10-29 22:14:59 +0000
commitefd349ddceb8fa8e216bb2e9fb12dfc7dbb6637d (patch)
treeda5d9cb287397a3b6496b3d5d91d766a3ce0daa2 /src/fl_color.cxx
parent9a84309f51cf3f785489b7e48e3d28f0c33a2d59 (diff)
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
Diffstat (limited to 'src/fl_color.cxx')
-rw-r--r--src/fl_color.cxx5
1 files changed, 3 insertions, 2 deletions
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.