summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2012-05-17 22:42:26 +0000
committerGreg Ercolano <erco@seriss.com>2012-05-17 22:42:26 +0000
commit7dcf31ff36fc6b4b5a5798fc45605066ce0a533d (patch)
tree1f546ec795e7067bea8b480f094e27fcf8a713a3
parent34716f86a02b71aa210f998dd7be48bc07550199 (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
-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