summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/src/drawing.dox5
-rw-r--r--documentation/src/fltk-colormap.jpgbin0 -> 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
new file mode 100644
index 000000000..fc9b48f2e
--- /dev/null
+++ b/documentation/src/fltk-colormap.jpg
Binary files differ