summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-11-18 20:51:46 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-11-18 20:51:46 +0000
commit2921ca57a03c93d10e8791830256d8baf73e523f (patch)
tree87a7eb64708956b290fe32a867effaac9cb76a9b /documentation
parent2baf50eb1607ce3860a080c894843bd70ab5022d (diff)
Update Fl::get_color() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/documentation/Fl.html b/documentation/Fl.html
index 01e36e437..f5ccc6064 100644
--- a/documentation/Fl.html
+++ b/documentation/Fl.html
@@ -741,7 +741,15 @@ overlay colormap.
<H4><A NAME="Fl.get_color">unsigned get_color(Fl_Color c);<BR>
void get_color(Fl_Color c, uchar&amp;r, uchar&amp;g, uchar&amp;b);</A></H4>
-<P>Returns the color index or RGB value for the given FLTK color index.
+<P>Returns the RGB value(s) for the given FLTK color index. The
+first 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.
+
+<P>The second form returns the red, green, and blue values
+separately in referenced variables.
+
<H4><A NAME="Fl.get_font">const char* get_font(Fl_Font);</A></H4>