diff options
| author | Greg Ercolano <erco@seriss.com> | 2012-05-17 22:42:26 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2012-05-17 22:42:26 +0000 |
| commit | 7dcf31ff36fc6b4b5a5798fc45605066ce0a533d (patch) | |
| tree | 1f546ec795e7067bea8b480f094e27fcf8a713a3 /documentation/src | |
| parent | 34716f86a02b71aa210f998dd7be48bc07550199 (diff) | |
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
Diffstat (limited to 'documentation/src')
| -rw-r--r-- | documentation/src/drawing.dox | 5 | ||||
| -rw-r--r-- | documentation/src/fltk-colormap.jpg | bin | 0 -> 140581 bytes |
2 files changed, 4 insertions, 1 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index e0981d051..4223e0ce2 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -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 diff --git a/documentation/src/fltk-colormap.jpg b/documentation/src/fltk-colormap.jpg Binary files differnew file mode 100644 index 000000000..fc9b48f2e --- /dev/null +++ b/documentation/src/fltk-colormap.jpg |
