Added colormap with index numbers in the legends to the "Colors"

section of the 'Drawing Things in FLTK' section. This should make it easy
to quickly identify the color numbers of the default FLTK colormap entries.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2012-05-17 22:42:26 +00:00
parent 34716f86a0
commit 7dcf31ff36
2 changed files with 4 additions and 1 deletions

View File

@ -164,7 +164,10 @@ and are allocated as needed on screens without TrueColor support.
The \b Fl_Color enumeration type defines the
standard colors and color cube for the first 256 colors. All of
these are named with symbols in
\ref enumerations "<FL/Enumerations.H>".
\ref enumerations "<FL/Enumerations.H>". Example:
\image html fltk-colormap.jpg "FLTK default colormap (Fl_Color 0x00 - 0xff)"
\image latex fltk-colormap.jpg "FLTK default colormap (Fl_Color 0x00 - 0xff)" width=6cm
Color values greater than 255 are treated as 24-bit RGB
values. These are mapped to the closest color supported by the

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB