diff options
| author | Greg Ercolano <erco@seriss.com> | 2013-04-02 16:47:57 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2013-04-02 16:47:57 +0000 |
| commit | ba0c61b961eb0cb69885d72cfed8299c537105f8 (patch) | |
| tree | 7dd9d1b050e1ebb34fae1120294f5d67ae49b082 /FL | |
| parent | bbbde512e858bf62aa53c5cda5f49d6dc6179a0f (diff) | |
Small color documentation clarification/improvements:
o Added some references to the FLTK colormap diagram in obvious places (Fl_Color docs)
o Added info regarding the 'reserved' colors
o Added quotes to clarify RGBI description: "RGB" and "I"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Enumerations.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 2fe35ee3d..26d521338 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -755,7 +755,7 @@ extern FL_EXPORT Fl_Fontsize FL_NORMAL_SIZE; ///< normal font size The Fl_Color type holds an FLTK color value. Colors are either 8-bit indexes into a virtual colormap - or 24-bit RGB color values. + or 24-bit RGB color values. (See \ref drawing_colors for the default FLTK colormap) Color indices occupy the lower 8 bits of the value, while RGB colors occupy the upper 24 bits, for a byte organization of RGBI. @@ -763,7 +763,7 @@ extern FL_EXPORT Fl_Fontsize FL_NORMAL_SIZE; ///< normal font size <pre> Fl_Color => 0xrrggbbii | | | | - | | | +--- index between 0 and 255 + | | | +--- \ref drawing_colors "index" between 0 and 255 | | +----- blue color component (8 bit) | +------- green component (8 bit) +--------- red component (8 bit) @@ -774,7 +774,7 @@ extern FL_EXPORT Fl_Fontsize FL_NORMAL_SIZE; ///< normal font size */ /*@{*/ -/** an FLTK color value */ +/** An FLTK color value; see also \ref drawing_colors */ typedef unsigned int Fl_Color; // Standard colors. These are used as default colors in widgets and altered as necessary |
