Author: greg.ercolano
Date: 2012-05-17 15:42:26 -0700 (Thu, 17 May 2012)
New Revision: 9521
Log:
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.



Added:
   branches/branch-1.3/documentation/src/fltk-colormap.jpg
Modified:
   branches/branch-1.3/documentation/src/drawing.dox

Modified: branches/branch-1.3/documentation/src/drawing.dox
===================================================================
--- branches/branch-1.3/documentation/src/drawing.dox   2012-05-17 20:50:17 UTC 
(rev 9520)
+++ branches/branch-1.3/documentation/src/drawing.dox   2012-05-17 22:42:26 UTC 
(rev 9521)
@@ -164,8 +164,11 @@
 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
 screen, either from one of the 256 colors in the FLTK 1.3.x

Added: branches/branch-1.3/documentation/src/fltk-colormap.jpg
===================================================================
(Binary files differ)


Property changes on: branches/branch-1.3/documentation/src/fltk-colormap.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to