From ba0c61b961eb0cb69885d72cfed8299c537105f8 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 2 Apr 2013 16:47:57 +0000 Subject: 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 --- documentation/src/drawing.dox | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'documentation/src') 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 -- cgit v1.2.3