diff options
| author | Greg Ercolano <erco@seriss.com> | 2013-04-02 16:47:57 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2013-04-02 16:47:57 +0000 |
| commit | ba0c61b961eb0cb69885d72cfed8299c537105f8 (patch) | |
| tree | 7dd9d1b050e1ebb34fae1120294f5d67ae49b082 /documentation | |
| parent | bbbde512e858bf62aa53c5cda5f49d6dc6179a0f (diff) | |
Small color documentation clarification/improvements:
o Added some references to the FLTK colormap diagram in obvious places (Fl_Color docs)
o Added info regarding the 'reserved' colors
o Added quotes to clarify RGBI description: "RGB" and "I"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/drawing.dox | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 285a61ea5..8a2e0e940 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -154,11 +154,12 @@ the current clipping region. \section drawing_colors Colors FLTK manages colors as 32-bit unsigned integers, encoded as RGBI. -When the RGB bytes are non-zero, the value is treated as RGB. -If these bytes are zero, the I byte will be used as an index -into the colormap. +When the "RGB" bytes are non-zero, the value is treated as RGB. +If these bytes are zero, the "I" byte will be used as an index +into the colormap. Colors with both RGB set and an index >0 +are reserved for special use. -Values from 0 to 255, i.e. the I index value, represent +Values from 0 to 255, i.e. the "I" index value, represent colors from the FLTK 1.3.x standard colormap and are allocated as needed on screens without TrueColor support. The \b Fl_Color enumeration type defines the |
